Enum Class ResourceCardinality

java.lang.Object
java.lang.Enum<ResourceCardinality>
org.apache.nifi.components.resource.ResourceCardinality
All Implemented Interfaces:
Serializable, Comparable<ResourceCardinality>, Constable

public enum ResourceCardinality extends Enum<ResourceCardinality>
Indicates the cardinality of how many resources can be referenced by a given property.
  • Enum Constant Details

    • SINGLE

      public static final ResourceCardinality SINGLE
      Exactly one resource must be specified
    • MULTIPLE

      public static final ResourceCardinality MULTIPLE
      One or more resources may be supplied, as a comma-separated list
  • Constructor Details

    • ResourceCardinality

      private ResourceCardinality()
  • Method Details

    • values

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