Package mks.ci.server.engine
Class CopyTree.ScriptBranchResultBean
- java.lang.Object
-
- mks.frame.triggers.ScriptExposableBaseBean
-
- mks.frame.triggers.beans.ScriptBaseBean
-
- mks.ci.server.engine.LocalTriggerManager.ScriptIMBaseBean
-
- mks.ci.server.engine.CopyTree.ScriptBranchResultBean
-
- All Implemented Interfaces:
mks.frame.triggers.ScriptExposableBean
- Enclosing class:
- CopyTree
public static class CopyTree.ScriptBranchResultBean extends LocalTriggerManager.ScriptIMBaseBean implements mks.frame.triggers.ScriptExposableBean
The Branch Result Bean (imBranchResultBean).This bean is available when the branch post trigger is fired.
The post branch trigger is fired after the branch, or complete copytree operation has committed. At this point, it has completed. Both this bean, and the imBranchArgsBean (see
CopyTree.ScriptBranchArgsBean
) are available.The purpose of this bean is to determine the newly created issue.
-
-
Constructor Summary
Constructors Constructor Description ScriptBranchResultBean(int oldIssue, int newIssue, int userId, java.sql.Connection c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBranchingIssue()
Retrieve the issue id which was branched.java.lang.String
getExposedName()
The name of this bean: imCopyTreeResultBeanint
getResultingIssue()
Retrieve the newly created child branch issue.-
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
-
getBranchingIssue
public int getBranchingIssue()
Retrieve the issue id which was branched.- Returns:
- the integer issue id.
-
getResultingIssue
public int getResultingIssue()
Retrieve the newly created child branch issue.- Returns:
- the integer issue id.
-
getExposedName
public java.lang.String getExposedName()
The name of this bean: imCopyTreeResultBean- Specified by:
getExposedName
in interfacemks.frame.triggers.ScriptExposableBean
- Specified by:
getExposedName
in classScriptBaseBean
- Returns:
- the bean name:
siMemberBean
.
-
-