Class CheckTools
- java.lang.Object
-
- de.aristaflow.adept2.core.checks.processmodel.CheckTools
-
public class CheckTools extends Object
Some helper methods, required by all checks.- Author:
- Kevin Goeser
-
-
Constructor Summary
Constructors Constructor Description CheckTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getAffectedDataElement(int dataElementID)
Returns an affected element string, describing the data element with the given ID.static String
getAffectedEBP(String ebpName)
Returns an affected element string, describing the executable business process with the given ebp name.static String
getAffectedEdge(int source, int dest, ProcessConstants.EdgeType edgeType)
Returns an affected element string, describing an edge with the given node IDs.static String
getAffectedEdge(StructuredEdge edge)
Returns an affected element string, describing an edge with the given structured edge.static String
getAffectedNode(int nodeID)
Returns an affected element string, describing a node with the given ID.static String
getAffectedParameter(String parameterName, ActivityConstants.AccessType direction)
Returns an affected element string, describing the parameter with the given parameter name and its direction.
-
-
-
Method Detail
-
getAffectedNode
public static String getAffectedNode(int nodeID)
Returns an affected element string, describing a node with the given ID.- Parameters:
nodeID
-- Returns:
- An affected element string, describing a node with the given ID.
-
getAffectedEdge
public static String getAffectedEdge(StructuredEdge edge)
Returns an affected element string, describing an edge with the given structured edge.- Parameters:
edge
-- Returns:
- An affected element string, describing an edge with the given structured edge.
-
getAffectedEdge
public static String getAffectedEdge(int source, int dest, ProcessConstants.EdgeType edgeType)
Returns an affected element string, describing an edge with the given node IDs.- Parameters:
source
-dest
-edgeType
-- Returns:
- An affected element string, describing an edge with the given node IDs.
-
getAffectedDataElement
public static String getAffectedDataElement(int dataElementID)
Returns an affected element string, describing the data element with the given ID.- Parameters:
dataElementID
-- Returns:
- An affected element string for the data element with the given ID.
-
getAffectedParameter
public static String getAffectedParameter(String parameterName, ActivityConstants.AccessType direction)
Returns an affected element string, describing the parameter with the given parameter name and its direction.- Parameters:
parameterName
-direction
-- Returns:
- An affected element string for the parameter with the given parameter name.
-
-