Enum Class TUCommand.Type

java.lang.Object
java.lang.Enum<TUCommand.Type>
org.openwms.common.transport.api.commands.TUCommand.Type
All Implemented Interfaces:
Serializable, Comparable<TUCommand.Type>, Constable
Enclosing class:
TUCommand

public static enum TUCommand.Type extends Enum<TUCommand.Type>
  • Enum Constant Details

    • REQUEST

      public static final TUCommand.Type REQUEST
      Command to request and return the current instance of the TransportUnit from the golden source.
    • UPDATE_CACHE

      public static final TUCommand.Type UPDATE_CACHE
      Response Command to update the foreign cache with the transmitted TransportUnit instance.
    • CREATE

      public static final TUCommand.Type CREATE
      Command to create a new TransportUnit instance.
    • REMOVING

      public static final TUCommand.Type REMOVING
      Vote whether all voters are fine with removing an instance.
    • REMOVE

      public static final TUCommand.Type REMOVE
      Response Command to remove the TransportUnit.
    • CHANGE_TARGET

      public static final TUCommand.Type CHANGE_TARGET
      Command to change the Target of a TransportUnit.
    • CHANGE_ACTUAL_LOCATION

      public static final TUCommand.Type CHANGE_ACTUAL_LOCATION
      Command to change the actual Location of a TransportUnit.
  • Constructor Details

    • Type

      private Type()
  • Method Details

    • values

      public static TUCommand.Type[] 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 TUCommand.Type 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