public enum ResourceCardinality extends Enum<ResourceCardinality>
Enum Constant and Description |
---|
MULTIPLE
One or more resources may be supplied, as a comma-separated list
|
SINGLE
Exactly one resource must be specified
|
Modifier and Type | Method and Description |
---|---|
static ResourceCardinality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceCardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceCardinality SINGLE
public static final ResourceCardinality MULTIPLE
public static ResourceCardinality[] values()
for (ResourceCardinality c : ResourceCardinality.values()) System.out.println(c);
public static ResourceCardinality valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 Apache NiFi Project. All rights reserved.