Package mks.ci.server.engine
Class CopyTree.ScriptBranchArgsBean
- java.lang.Object
-
- mks.frame.triggers.ScriptExposableBaseBean
-
- mks.frame.triggers.beans.ScriptBaseBean
-
- mks.ci.server.engine.LocalTriggerManager.ScriptIMBaseBean
-
- mks.ci.server.engine.CopyTree.ScriptArgsBaseBean
-
- mks.ci.server.engine.CopyTree.ScriptBranchArgsBean
-
- All Implemented Interfaces:
mks.frame.triggers.ScriptExposableBean
- Enclosing class:
- CopyTree
public static class CopyTree.ScriptBranchArgsBean extends CopyTree.ScriptArgsBaseBean implements mks.frame.triggers.ScriptExposableBean
The Branch Arguments Bean (imBranchArgsBean).This bean is available when the branch trigger is fired.
The pre branch trigger is fired before a particular issue branch operation starts, and simply provides the information supplied by the client, along with the particular issue number being branched.
The post branch trigger is fired after the branch or copytree operation has committed. At this point, it has completed. Both this bean, and the imBranchResultBean (see
CopyTree.ScriptBranchResultBean
) are available.If the copytree operation has the branch operation set, you will get both CopyTree and Branch triggers. The order that they will fire is:
- First the pre CopyTree will fire passing in all top level issues
- As each individual issue is branched, it will separately fire the pre Branch trigger for that issue
- The database commit occurs
- After the full CopyTree operation has completed, the post Branch triggers will all fire sequentially. One post Branch trigger will fire for each branched issue, giving the old and new issue ids.
- The post CopyTree will now fire, giving the full map of all branched issues.
-
-
Constructor Summary
Constructors Constructor Description ScriptBranchArgsBean(mks.ci.common.CopyTreeArgs args, int issueID, int userId, java.sql.Connection c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExposedName()
The name of this bean: imBranchArgsBeanint
getIssueID()
Fetch the issue id of the issue being branched.-
Methods inherited from class mks.ci.server.engine.CopyTree.ScriptArgsBaseBean
asOfDate, getCopyFields, getPostFieldProject, isCopyAttachments
-
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()
Fetch the issue id of the issue being branched.- Returns:
- the integer issue id.
-
getExposedName
public java.lang.String getExposedName()
The name of this bean: imBranchArgsBean- Specified by:
getExposedName
in interfacemks.frame.triggers.ScriptExposableBean
- Specified by:
getExposedName
in classScriptBaseBean
- Returns:
- the bean name:
siMemberBean
.
-
-