Class LocalTriggerManager.ScriptTestSessionRunBean

  • All Implemented Interfaces:
    mks.frame.triggers.ScriptExposableBean
    Enclosing class:
    LocalTriggerManager

    public static class LocalTriggerManager.ScriptTestSessionRunBean
    extends LocalTriggerManager.ScriptIMBaseBean
    implements mks.frame.triggers.ScriptExposableBean
    This bean represents a test session run within an Agent.

    This bean may be obtained from the agent bean, via the getRunningTestSessions call.

    • Constructor Detail

      • ScriptTestSessionRunBean

        public ScriptTestSessionRunBean​(int userId,
                                        java.sql.Connection c,
                                        mks.tm.api.TestSessionRun wrapped)
    • Method Detail

      • getTestSessionID

        public int getTestSessionID()
                             throws mks.frame.triggers.TriggerException
        Get the ID of the test session item.
        Returns:
        The ID of the test session item.
        Throws:
        mks.frame.triggers.TriggerException - Reserved exception.
      • getAdapterName

        public java.lang.String getAdapterName()
                                        throws mks.frame.triggers.TriggerException
        Get the name of the adapter.
        Returns:
        The name of the adapter.
        Throws:
        mks.frame.triggers.TriggerException - Reserved exception.
      • isCancelled

        public boolean isCancelled()
                            throws mks.frame.triggers.TriggerException
        An indication that the test session run has been marked cancelled or not.
        Returns:
        true if the test session run has been marked cancelled, false otherwise.
        Throws:
        mks.frame.triggers.TriggerException - Reserved exception.
      • getExposedName

        public java.lang.String getExposedName()
        Returns the name of this bean that is exposed to the scripting language.
        Specified by:
        getExposedName in interface mks.frame.triggers.ScriptExposableBean
        Specified by:
        getExposedName in class ScriptBaseBean
        Returns:
        This bean is named imTestSessionRunBean.