Enum Class UnixFSTransactionProgramExecutionPhase

java.lang.Object
java.lang.Enum<UnixFSTransactionProgramExecutionPhase>
dev.getelements.elements.rt.transact.unix.UnixFSTransactionProgramExecutionPhase
All Implemented Interfaces:
Serializable, Comparable<UnixFSTransactionProgramExecutionPhase>, Constable

public enum UnixFSTransactionProgramExecutionPhase extends Enum<UnixFSTransactionProgramExecutionPhase>
Indicates the phase of the transactional program.
  • Enum Constant Details

  • Method Details

    • values

      public static UnixFSTransactionProgramExecutionPhase[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UnixFSTransactionProgramExecutionPhase valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isEnabled

      public boolean isEnabled(long phases)
      Given the bitmask, returns true if this phase is enabled.
      Parameters:
      phases - the phases
      Returns:
      true if enabled
    • isDisabled

      public boolean isDisabled(long phases)
      Given the bitmask, returns true if this phase is disabled.
      Parameters:
      phases - the phases
      Returns:
      true if disabled