Interface SessionExt

All Superinterfaces:
Session
All Known Implementing Classes:
BasicSession

public interface SessionExt extends Session
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...

  • 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

      void loadInterviewFromFile(WorkDirectory wd, File jti) throws Session.Fault
      Loads interview from a given file and associates it with a given working directory.
      Parameters:
      wd -
      jti -
      Throws:
      Session.Fault
    • reloadInterview

      void reloadInterview() throws Session.Fault
      Reloads interview if out of date.
      Throws:
      Session.Fault