Class LocalTriggerManager.ScriptBranchBean

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

    public static class LocalTriggerManager.ScriptBranchBean
    extends LocalTriggerManager.ScriptIMBaseBean
    The branch bean contains information about a branch, either the child issues of a branch, or the parent. They can be retrieved thru the imIssueBean.getParent() and imIssueBean.getBranches() calls.
    • Constructor Detail

      • ScriptBranchBean

        public ScriptBranchBean​(int userId,
                                mks.ci.server.engine.Issue.Branch branch,
                                java.sql.Connection c)
    • Method Detail

      • getIssueID

        public int getIssueID()
        Retrieve the issue id. If this bean was obtained using the getBranches() call, this is the child issue. If this bean was obtained using the getParent() call, this is the issue which was branched to create the new issue.
      • getBranchTime

        public java.util.Date getBranchTime()
        Retrieve the point of time that this branch is against.
      • toString

        public java.lang.String toString()
        Returns a summary of this object.
        Overrides:
        toString in class java.lang.Object
      • 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: imBranchBean.