public class UpdateNode
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
logger
aLogger
|
| Constructor and Description |
|---|
UpdateNode() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
autoStartEnabled(Template template,
Node node) |
static boolean |
btnAutoStartEnabled(Template template,
Node node,
java.lang.String nodeSAR,
java.util.Map<java.lang.String,Dependency> dependencies) |
static boolean |
isPossible(ChangeableInstance instance,
Node node,
CheckReport checkReport,
ProcessConstants.NodeProperty... nodeProperties)
Checks if it is valid (concerning structural and state based correctness)
for the given node to update the properties given by
nodeProperties in the instance. |
static boolean |
isPossible(ChangeableInstance instance,
Node node,
ProcessConstants.NodeProperty... nodeProperties)
Checks if it is valid (concerning structural and state based correctness)
for the given node to update the properties given by
nodeProperties in the instance. |
static boolean |
isPossible(Template template,
Node node,
CheckReport checkReport,
ProcessConstants.NodeProperty... nodeProperties)
Checks if it is valid (concerning structural correctness) for the given
node to update the properties given by
nodeProperties in the
template. |
static boolean |
isPossible(Template template,
Node node,
ProcessConstants.NodeProperty... nodeProperties)
Checks if it is valid (concerning structural correctness) for the given
node to update the properties given by
nodeProperties in the
template. |
static void |
performOperation(ChangeableInstance instance,
Node node,
ProcessConstants.NodeProperty... nodeProperties)
Updates a node object in the given instance using the data in the given
node.
|
static void |
performOperation(ChangeableInstance instance,
Node node,
UpdateManager updateManager,
ProcessConstants.NodeProperty... nodeProperties)
Updates a node object in the given instance using the data in the given
node.
|
static void |
performOperation(ChangeableTemplate template,
Node node,
ProcessConstants.NodeProperty... nodeProperties)
Updates a node object in the given template using the data in the given
node.
|
static void |
performOperation(ChangeableTemplate template,
Node node,
UpdateManager updateManager,
ProcessConstants.NodeProperty... nodeProperties)
Updates a node object in the given template using the data in the given
node.
|
protected static void |
performOperation(ChangePrimitives processGraph,
Node node,
UpdateManager updateManager,
ProcessConstants.NodeProperty... nodeProperties)
Worker method to do the structural changes for both changeable templates
and changeable instances.
|
public static boolean isPossible(Template template, Node node, ProcessConstants.NodeProperty... nodeProperties)
nodeProperties in the
template. The following attributes / properties may be updated and must
therefore be tested:
template - the template where the method is performed onnode - the node which should be updatednodeProperties - the properties which should be changedpublic static boolean isPossible(Template template, Node node, CheckReport checkReport, ProcessConstants.NodeProperty... nodeProperties)
nodeProperties in the
template. The following attributes / properties may be updated and must
therefore be tested:
template - the template where the method is performed onnode - the node where the the EBP is assigned tocheckReport - a checkReport object which can be filled with the reason why the
isPossible failed (i.e. in the case the method returns false), may
be nullnodeProperties - the properties which should be changedpublic static boolean isPossible(ChangeableInstance instance, Node node, ProcessConstants.NodeProperty... nodeProperties)
nodeProperties in the instance. The following attributes /
properties may be updated and must therefore be tested:
instance - the changeable instance where the method is performed onnode - the node which should be updatednodeProperties - the properties which should be changedpublic static boolean isPossible(ChangeableInstance instance, Node node, CheckReport checkReport, ProcessConstants.NodeProperty... nodeProperties)
nodeProperties in the instance. The following attributes /
properties may be updated and must therefore be tested:
instance - the changeable instance where the method is performed onnode - the node where the the EBP is assigned tocheckReport - a checkReport object which can be filled with the reason why the
isPossible failed (i.e. in the case the method returns false), may
be nullnodeProperties - the properties which should be changedpublic static void performOperation(ChangeableTemplate template, Node node, ProcessConstants.NodeProperty... nodeProperties)
UpdateExecutableBusinessProcess template - the related templatenode - A temporary node object, containing the new values.nodeProperties - Possible values of NodeProperty are described above.public static void performOperation(ChangeableTemplate template, Node node, UpdateManager updateManager, ProcessConstants.NodeProperty... nodeProperties)
UpdateExecutableBusinessProcess template - the related templatenode - A temporary node object, containing the new values.updateManager - The update manager which will be informed about
process changes.nodeProperties - Possible values of NodeProperty are described above.public static void performOperation(ChangeableInstance instance, Node node, ProcessConstants.NodeProperty... nodeProperties)
UpdateExecutableBusinessProcess.instance - the related changeable instancenode - A temporary node object, containing the new values.nodeProperties - Possible values of NodeProperty are described above.public static void performOperation(ChangeableInstance instance, Node node, UpdateManager updateManager, ProcessConstants.NodeProperty... nodeProperties)
UpdateExecutableBusinessProcess.instance - the related changeable instancenode - A temporary node object, containing the new values.updateManager - The update manager which will be informed about
process changes.nodeProperties - Possible values of NodeProperty are described above.protected static void performOperation(ChangePrimitives processGraph, Node node, UpdateManager updateManager, ProcessConstants.NodeProperty... nodeProperties)
getExecutableBusinessProcess() of the given node returns
null, the EBP and the parameter/data-connector mapping is removed from the
node as well as all data-connectors which are not connected (i.e marked as
disabled or connect later) with a data edge. UpdateExecutableBusinessProcess.processGraph - an instance of type ChangeableTemplate or
ChangeableInstancenode - A temporary node object, containing the new values.updateManager - The update manager which will be informed about
process changes.nodeProperties - Possible values of NodeProperty are described above.public static boolean autoStartEnabled(Template template, Node node)
template - node - public static boolean btnAutoStartEnabled(Template template, Node node, java.lang.String nodeSAR, java.util.Map<java.lang.String,Dependency> dependencies)
template - node - nodeSAR - dependencies -