Package org.agrona

Enum Class PropertyAction

java.lang.Object
java.lang.Enum<PropertyAction>
org.agrona.PropertyAction
All Implemented Interfaces:
Serializable, Comparable<PropertyAction>, Constable

public enum PropertyAction extends Enum<PropertyAction>
Action to be taken for each property loaded into system properties.
  • Enum Constant Details

    • REPLACE

      public static final PropertyAction REPLACE
      Replace existing property value if one exists.
    • PRESERVE

      public static final PropertyAction PRESERVE
      Preserve existing property value if one exists.
  • Constructor Details

    • PropertyAction

      private PropertyAction()
  • Method Details

    • values

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