Package com.sun.javatest.exec
Interface SessionExt
- All Superinterfaces:
Session
- All Known Implementing Classes:
BasicSession
Extention to the Session interface. It contains a number of methods
to prevent the behavior user gets used to.
Hopefully, some day this interface will be eliminated...
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.javatest.exec.Session
Session.Event, Session.Fault, Session.Observer, Session.Update
-
Method Summary
Modifier and TypeMethodDescriptionReturns InterviewParameters object, most likely the same object as getParamaters()Returns work directory assigned to the session.void
loadInterviewFromFile
(WorkDirectory wd, File jti) Loads interview from a given file and associates it with a given working directory.void
Reloads interview if out of date.Methods inherited from interface com.sun.javatest.exec.Session
addObserver, dispose, getParameters, getPropertyNames, getValue, isReady, notifyObservers, removeObserver, restore, save, update, update
-
Method Details
-
getWorkDirectory
WorkDirectory getWorkDirectory()Returns work directory assigned to the session.- Returns:
- The current wd set.
-
getInterviewParameters
InterviewParameters getInterviewParameters()Returns InterviewParameters object, most likely the same object as getParamaters()According to the original idea there should not be such method in this interface, getParameters() should be enough. But JavaTest is not ready yet to not use InterviewParameters.
- Returns:
- an instance of InterviewParameters
- See Also:
-
loadInterviewFromFile
Loads interview from a given file and associates it with a given working directory.- Parameters:
wd
-jti
-- Throws:
Session.Fault
-
reloadInterview
Reloads interview if out of date.- Throws:
Session.Fault
-