KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > netui > tools > testrecorder > server > state > PlaybackSession


1 /*
2  * Copyright 2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * $Header:$
17  */

18
19 package org.apache.beehive.netui.tools.testrecorder.server.state;
20
21 import org.apache.beehive.netui.tools.testrecorder.server.FilterData;
22
23 import java.io.File JavaDoc;
24
25
26 /**
27  */

28 public interface PlaybackSession extends Session {
29
30     /**
31      * @return true if successful starting the test, false if not tests remain, throws
32      * an exception if a failure occurs.
33      * @throws SessionFailedException
34      */

35     boolean startTest() throws SessionFailedException;
36
37     /**
38      * @return returns the current test count or throws an exception if it fails.
39      * @throws SessionFailedException
40      */

41     int endTest( FilterData filterData ) throws SessionFailedException;
42
43     String JavaDoc getStringUID();
44
45     File JavaDoc getPlaybackFile();
46
47     File JavaDoc getDiffFile();
48
49     File JavaDoc getRecordFile();
50
51     int passCount();
52
53     int failCount();
54
55     String JavaDoc getStatus();
56
57 }
58
Popular Tags