Package mks.ci.server.engine
Class LocalTriggerManager.ScriptBranchBean
- java.lang.Object
-
- mks.frame.triggers.ScriptExposableBaseBean
-
- mks.frame.triggers.beans.ScriptBaseBean
-
- mks.ci.server.engine.LocalTriggerManager.ScriptIMBaseBean
-
- mks.ci.server.engine.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 Summary
Constructors Constructor Description ScriptBranchBean(int userId, mks.ci.server.engine.Issue.Branch branch, java.sql.Connection c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getBranchTime()
Retrieve the point of time that this branch is against.java.lang.String
getExposedName()
Returns the name of this bean that is exposed to the scripting language.int
getIssueID()
Retrieve the issue id.java.lang.String
toString()
Returns a summary of this object.-
Methods inherited from class mks.ci.server.engine.LocalTriggerManager.ScriptIMBaseBean
getCurrentDatabaseTime, getCurrentDatabaseTime, getCurrentUser, getServerBean, getUserID, isParallelProcessingEnabled
-
Methods inherited from class mks.frame.triggers.beans.ScriptBaseBean
getEnvironmentBean, setEnvironmentBean
-
-
-
-
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 classjava.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 interfacemks.frame.triggers.ScriptExposableBean
- Specified by:
getExposedName
in classScriptBaseBean
- Returns:
- the bean name:
imBranchBean
.
-
-