Class CheckTools


  • public class CheckTools
    extends Object
    Some helper methods, required by all checks.
    Author:
    Kevin Goeser
    • Constructor Detail

      • CheckTools

        public CheckTools()
    • 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.
      • getAffectedEBP

        public static String getAffectedEBP​(String ebpName)
        Returns an affected element string, describing the executable business process with the given ebp name.
        Parameters:
        ebpName -
        Returns:
        An affected element string for the ebp with the given ebp name.