Enum Class ContainerState

java.lang.Object
java.lang.Enum<ContainerState>
com.ultikits.ultitools.ui.ContainerState
All Implemented Interfaces:
Serializable, Comparable<ContainerState>, Constable

public enum ContainerState extends Enum<ContainerState>
Constants may be added in a 7.x minor release.
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A commit is in flight; every gesture is refused; setReadOnly, load and drain throw; commit returns the in-flight stage; end waits for the answer.
    Gestures on EDITABLE bindings are applied.
    Ended (disposition ran, or drained); shows nothing and is not viewed.
    A commit's outcome is unknown; nothing was refunded; every gesture is refused; setReadOnly, load, commit and drain throw; end ends it with UNKNOWN_KEPT_BY_STORE.
    Set by the module; every gesture is refused; the module may still load, commit, drain or end it.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • EDITABLE

      public static final ContainerState EDITABLE
      Gestures on EDITABLE bindings are applied.
    • READ_ONLY

      public static final ContainerState READ_ONLY
      Set by the module; every gesture is refused; the module may still load, commit, drain or end it.
    • COMMITTING

      public static final ContainerState COMMITTING
      A commit is in flight; every gesture is refused; setReadOnly, load and drain throw; commit returns the in-flight stage; end waits for the answer.
    • FAILED

      public static final ContainerState FAILED
      A commit's outcome is unknown; nothing was refunded; every gesture is refused; setReadOnly, load, commit and drain throw; end ends it with UNKNOWN_KEPT_BY_STORE.
    • ENDED

      public static final ContainerState ENDED
      Ended (disposition ran, or drained); shows nothing and is not viewed. The getters, changes() (empty) and end() (the same stage) still answer; setReadOnly, load, commit and drain throw IllegalStateException.
  • Constructor Details

    • ContainerState

      private ContainerState()
  • Method Details

    • values

      public static ContainerState[] 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 ContainerState 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