Enum Class Intent

java.lang.Object
java.lang.Enum<Intent>
org.moeaframework.analysis.store.Intent
All Implemented Interfaces:
Serializable, Comparable<Intent>, Constable

public enum Intent extends Enum<Intent>
The application intent that determines what operations are permitted on the data store.
  • Enum Constant Details

    • READ_ONLY

      public static final Intent READ_ONLY
      Indicates only read operations are permitted.
    • READ_WRITE

      public static final Intent READ_WRITE
      Indicates read and write operations are permitted.
  • Method Details

    • values

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