public enum RepositoryType extends Enum<RepositoryType>
| Enum Constant and Description |
|---|
CONTENT |
FLOWFILE |
PROVENANCE |
| Modifier and Type | Field and Description |
|---|---|
private String |
encryptionProcess |
private static org.slf4j.Logger |
logger |
private String |
name |
private String |
packagePath |
| Modifier and Type | Method and Description |
|---|---|
static RepositoryType |
determineType(String input)
Uses loose string matching to determine the repository type from input.
|
String |
getEncryptionProcess() |
String |
getName() |
String |
getPackagePath() |
String |
toString() |
static RepositoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryType CONTENT
public static final RepositoryType PROVENANCE
public static final RepositoryType FLOWFILE
private static final org.slf4j.Logger logger
private final String name
private final String packagePath
private final String encryptionProcess
public static RepositoryType[] values()
for (RepositoryType c : RepositoryType.values()) System.out.println(c);
public static RepositoryType 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 getName()
public String getPackagePath()
public String getEncryptionProcess()
public String toString()
toString in class Enum<RepositoryType>public static RepositoryType determineType(String input)
IllegalArgumentException
on input which cannot be reasonably matched to any known repository type.input - a string containing some description of the repository typeCopyright © 2019 Apache NiFi Project. All rights reserved.