Package org.silverpeas.core.io.file
Enum SilverpeasFileProcessor.ProcessingContext
- java.lang.Object
-
- java.lang.Enum<SilverpeasFileProcessor.ProcessingContext>
-
- org.silverpeas.core.io.file.SilverpeasFileProcessor.ProcessingContext
-
- All Implemented Interfaces:
Serializable
,Comparable<SilverpeasFileProcessor.ProcessingContext>
- Enclosing interface:
- SilverpeasFileProcessor
public static enum SilverpeasFileProcessor.ProcessingContext extends Enum<SilverpeasFileProcessor.ProcessingContext>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COPY
The processing is about the copy of a file.DELETION
The processing is about the deletion of a file.GETTING
The processing is about the getting of a file.MOVING
The processing is about the moving of a file.WRITING
The processing is about the writing of the content into a file.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SilverpeasFileProcessor.ProcessingContext
valueOf(String name)
Returns the enum constant of this type with the specified name.static SilverpeasFileProcessor.ProcessingContext[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GETTING
public static final SilverpeasFileProcessor.ProcessingContext GETTING
The processing is about the getting of a file.
-
WRITING
public static final SilverpeasFileProcessor.ProcessingContext WRITING
The processing is about the writing of the content into a file.
-
DELETION
public static final SilverpeasFileProcessor.ProcessingContext DELETION
The processing is about the deletion of a file.
-
COPY
public static final SilverpeasFileProcessor.ProcessingContext COPY
The processing is about the copy of a file.
-
MOVING
public static final SilverpeasFileProcessor.ProcessingContext MOVING
The processing is about the moving of a file.
-
-
Method Detail
-
values
public static SilverpeasFileProcessor.ProcessingContext[] 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 (SilverpeasFileProcessor.ProcessingContext c : SilverpeasFileProcessor.ProcessingContext.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SilverpeasFileProcessor.ProcessingContext valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-