Class LocalTriggerManager.ScriptTestVerdictBean

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

    public static class LocalTriggerManager.ScriptTestVerdictBean
    extends LocalTriggerManager.ScriptAdminBean
    implements mks.frame.triggers.ScriptExposableBean
    The Test Verdict Bean. This bean may be obtained from the server bean, via the getTestVerdictBean call. This is a read only bean
    • Constructor Detail

      • ScriptTestVerdictBean

        public ScriptTestVerdictBean​(mks.ci.server.engine.TestVerdict testVerdict,
                                     int userId,
                                     java.sql.Connection c)
        Create a new ScriptTestVerdictBean
        Parameters:
        testVerdict - the test verdict
        userId - the current user
        c - the database connection
    • Method Detail

      • 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:
        the bean name: imTestVerdictBean.
      • getDisplayName

        public java.lang.String getDisplayName()
        Return the display name of the test verdict
        Returns:
        the display name of the test verdict
      • getVerdictType

        public java.lang.String getVerdictType()
        Return the verdict type of the test verdict
        Returns:
        the verdict type of the test verdict
      • isActive

        public boolean isActive()
        Returns:
        true if the Test Verdict is active, false otherwise.