public enum ResourceType extends Enum<ResourceType>
Enum Constant and Description |
---|
DIRECTORY
Referenced Resource is a directory on a local (or mounted) file system
|
FILE
Referenced Resource is a File on a local (or mounted) file system
|
TEXT
Referenced Resource is UTF-8 text, rather than an external entity
|
URL
Referenced Resource is a URL that uses the HTTP, HTTPS, or file protocol
(i.e.,
http://... , https://... , or file:... ) |
Modifier and Type | Field and Description |
---|---|
private String |
prettyPrintName |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceType FILE
public static final ResourceType DIRECTORY
public static final ResourceType TEXT
public static final ResourceType URL
http://...
, https://...
, or file:...
)private final String prettyPrintName
public static ResourceType[] values()
for (ResourceType c : ResourceType.values()) System.out.println(c);
public static ResourceType 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 nullpublic String toString()
toString
in class Enum<ResourceType>
Copyright © 2023 Apache NiFi Project. All rights reserved.