Class FlowGraphConnectionType

java.lang.Object
de.xima.fc.workflow.FlowGraphConnectionType

public final class FlowGraphConnectionType extends Object
Constants with the bit flags for the different types of edges in a workflow node flow graph.

Since:
8.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
    A union of all possible flow graph connection types.
    static final long
    None of the available flow graph connection types.
    static final long
    An edge between a node U and node V in the flow graph with the property that node U, when it completes normally, can transfer control to node V.
    static final long
    An edge between a node U and node V in the flow graph with the property that node U, when it completes abruptly by throwing an exception, can transfer control to node V.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    excludesAllOf(long type, long excludeAllOf)
     
    static boolean
    excludesSomeOf(long type, long excludeSomeOf)
     
    static boolean
    includesAllOf(long type, long includeAllOf)
     
    static boolean
    includesSomeOf(long type, long includeSomeOf)
     
    static boolean
    isNormal(long type)
     
    static boolean
    isThrowing(long type)
     
    static long
    not(long type)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NONE

      public static final long NONE
      None of the available flow graph connection types.
      See Also:
    • NORMAL

      public static final long NORMAL
      An edge between a node U and node V in the flow graph with the property that node U, when it completes normally, can transfer control to node V.
      See Also:
    • THROWING

      public static final long THROWING
      An edge between a node U and node V in the flow graph with the property that node U, when it completes abruptly by throwing an exception, can transfer control to node V.
      See Also:
    • ALL

      public static final long ALL
      A union of all possible flow graph connection types.
      See Also:
  • Method Details

    • excludesAllOf

      public static boolean excludesAllOf(long type, long excludeAllOf)
      Parameters:
      type - A set of connection type flags, or'ed together.
      excludeAllOf - One or more types against which to compare the given type.
      Returns:
      true if the type does not include any of the given exclude types.
      See Also:
    • excludesSomeOf

      public static boolean excludesSomeOf(long type, long excludeSomeOf)
      Parameters:
      type - A set of connection type flags, or'ed together.
      excludeSomeOf - One or more types against which to compare the given type.
      Returns:
      true if the type includes all of the given types.
      See Also:
    • includesAllOf

      public static boolean includesAllOf(long type, long includeAllOf)
      Parameters:
      type - A set of connection type flags, or'ed together.
      includeAllOf - One or more types against which to compare the given type.
      Returns:
      true if the type includes all of the given include types.
      See Also:
    • includesSomeOf

      public static boolean includesSomeOf(long type, long includeSomeOf)
      Parameters:
      type - A set of connection type flags, or'ed together.
      includeSomeOf - One or more types against which to compare the given type.
      Returns:
      true if the type includes at least one of the given include types.
      See Also:
    • isNormal

      public static boolean isNormal(long type)
      Parameters:
      type - A set of connection type flags, or'ed together.
      Returns:
      Whether the flags include NORMAL.
    • isThrowing

      public static boolean isThrowing(long type)
      Parameters:
      type - A set of connection type flags, or'ed together.
      Returns:
      Whether the flags include THROWING.
    • not

      public static long not(long type)
      Parameters:
      type - A set of connection type flags, or'ed together.
      Returns:
      A list of types other than the given types.