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 Detail

      • 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:
        Session.getParameters()
      • loadInterviewFromFile

        void loadInterviewFromFile​(WorkDirectory wd,
                                   java.io.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