public class UpdateExecutableBusinessProcess
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
logger
a Logger
|
| Constructor and Description |
|---|
UpdateExecutableBusinessProcess() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPossible(ChangeableInstance instance,
int nodeID,
ExecutableBusinessProcess ebp,
CheckReport checkReport,
ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
Tests if it is valid (concerning structural and state-based correctness) to
change the executable business process properties given by
ebpProperties in the instance. |
static boolean |
isPossible(ChangeableInstance instance,
int nodeID,
ExecutableBusinessProcess ebp,
ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
Tests if it is valid (concerning structural and state-based correctness) to
change the executable business process properties given by
ebpProperties in the instance. |
static boolean |
isPossible(Template template,
int nodeID,
ExecutableBusinessProcess ebp,
CheckReport checkReport,
ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
Tests if it is valid (concerning structural correctness) to change the
executable business process properties given by
ebpProperties
in the template. |
static boolean |
isPossible(Template template,
int nodeID,
ExecutableBusinessProcess ebp,
ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
Tests if it is valid (concerning structural correctness) to change the
executable business process properties given by
ebpProperties in the template. |
static void |
performOperation(ChangeableInstance instance,
int nodeID,
ExecutableBusinessProcess ebp,
ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
TODO maybe there are a lot of more attributes which have to be changeable
Updates the Executable Business Process of the node with the given ID,
using the values of the given EBP object in the given instance.
|
static void |
performOperation(ChangeableInstance instance,
int nodeID,
ExecutableBusinessProcess ebp,
UpdateManager updateManager,
ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
TODO maybe there are a lot of more attributes which have to be changeable
Updates the Executable Business Process of the node with the given ID,
using the values of the given EBP object in the given instance.
|
static void |
performOperation(ChangeableTemplate template,
int nodeID,
ExecutableBusinessProcess ebp,
ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
TODO maybe there are a lot of more attributes which have to be changeable
Updates the Executable Business Process of the node with the given ID,
using the values of the given EBP object in the given template.
|
static void |
performOperation(ChangeableTemplate template,
int nodeID,
ExecutableBusinessProcess ebp,
UpdateManager updateManager,
ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
TODO maybe there are a lot of more attributes which have to be changeable
Updates the Executable Business Process of the node with the given ID,
using the values of the given EBP object in the given template.
|
protected static void |
performOperation(ChangePrimitives processGraph,
int nodeID,
ExecutableBusinessProcess ebp,
UpdateManager updateManager,
ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
Worker method to do the structural changes for both changeable templates
and changeable instances.
|
public static boolean isPossible(Template template, int nodeID, ExecutableBusinessProcess ebp, ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
ebpProperties in the template. The following
attributes / properties may be updated and must therefore be tested:
template - the template where the method is performed onnodeID - the id of the node where the the EBP is assigned toebp - the EBP whose properties are to be changedebpProperties - the properties which are to be changedpublic static boolean isPossible(Template template, int nodeID, ExecutableBusinessProcess ebp, CheckReport checkReport, ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
ebpProperties
in the template. The following attributes / properties may be updated and
must therefore be tested:
template - the template where the method is performed onnodeID - the id of the node where the the EBP is assigned toebp - the EBP whose properties are to be changedcheckReport - 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 nullebpProperties - the properties which are to be changedpublic static boolean isPossible(ChangeableInstance instance, int nodeID, ExecutableBusinessProcess ebp, ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
ebpProperties in the instance. The following attributes /
properties may be updated and must therefore be tested:
instance - the changeable instance where the method is performed onnodeID - the id of the node where the the EBP is assigned toebp - the EBP whose properties are to be changedebpProperties - the properties which are to be changedpublic static boolean isPossible(ChangeableInstance instance, int nodeID, ExecutableBusinessProcess ebp, CheckReport checkReport, ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
ebpProperties in the instance. The following attributes /
properties may be updated and must therefore be tested:
instance - the changeable instance where the method is performed onnodeID - the id of the node where the the EBP is assigned toebp - the EBP whose properties are to be changedcheckReport - 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 nullebpProperties - the properties which are to be changedpublic static void performOperation(ChangeableTemplate template, int nodeID, ExecutableBusinessProcess ebp, ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
template - the template where the method is performed onnodeID - the id of the node where the the EBP is assigned toebp - the EBP whose properties are to be changedebpProperties - the properties which are to be changedpublic static void performOperation(ChangeableTemplate template, int nodeID, ExecutableBusinessProcess ebp, UpdateManager updateManager, ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
template - the template where the method is performed onnodeID - the id of the node where the the EBP is assigned toebp - the EBP whose properties are to be changedupdateManager - The UpdateManager where modifications are logged, may
be nullebpProperties - the properties which are to be changedpublic static void performOperation(ChangeableInstance instance, int nodeID, ExecutableBusinessProcess ebp, ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
instance - the changeable instance where the method is performed onnodeID - the id of the node where the the EBP is assigned toebp - the EBP whose properties are to be changedebpProperties - the properties which are to be changedpublic static void performOperation(ChangeableInstance instance, int nodeID, ExecutableBusinessProcess ebp, UpdateManager updateManager, ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
instance - the changeable instance where the method is performed onnodeID - the id of the node where the the EBP is assigned toebp - the EBP whose properties are to be changedupdateManager - The UpdateManager where modifications are logged, may
be nullebpProperties - the properties which are to be changedprotected static void performOperation(ChangePrimitives processGraph, int nodeID, ExecutableBusinessProcess ebp, UpdateManager updateManager, ProcessConstants.ExecutableBusinessProcessProperty... ebpProperties)
processGraph - an instance of type ChangeableTemplate or
ChangeableInstancenodeID - the id of the node where the the EBP is assigned toebp - the EBP whose properties are to be changedupdateManager - The UpdateManager where modifications are logged, may
be nullebpProperties - the properties which are to be changed