org.silverpeas.file
Enum SilverpeasFileProcessor.ProcessingContext

java.lang.Object
  extended by java.lang.Enum<SilverpeasFileProcessor.ProcessingContext>
      extended by org.silverpeas.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
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
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2016 Silverpeas. All Rights Reserved.