Package com.dtolabs.rundeck.plugins.file
Enum FileUploadPlugin.ExternalState
- java.lang.Object
-
- java.lang.Enum<FileUploadPlugin.ExternalState>
-
- com.dtolabs.rundeck.plugins.file.FileUploadPlugin.ExternalState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FileUploadPlugin.ExternalState>
- Enclosing interface:
- FileUploadPlugin
public static enum FileUploadPlugin.ExternalState extends java.lang.Enum<FileUploadPlugin.ExternalState>
Represents file states known to rundeck
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileUploadPlugin.ExternalStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FileUploadPlugin.ExternalState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Used
public static final FileUploadPlugin.ExternalState Used
The file has been used for an operation, and
-
Unused
public static final FileUploadPlugin.ExternalState Unused
The file will no longer be used
-
Deleted
public static final FileUploadPlugin.ExternalState Deleted
The file should be deleted
-
-
Method Detail
-
values
public static FileUploadPlugin.ExternalState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FileUploadPlugin.ExternalState c : FileUploadPlugin.ExternalState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileUploadPlugin.ExternalState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-