com.jalios.jcms.fileprocessor.processingmanagement
Enum ProcessingData.Type

java.lang.Object
  extended by java.lang.Enum<ProcessingData.Type>
      extended by com.jalios.jcms.fileprocessor.processingmanagement.ProcessingData.Type
All Implemented Interfaces:
Serializable, Comparable<ProcessingData.Type>
Enclosing class:
ProcessingData

public static enum ProcessingData.Type
extends Enum<ProcessingData.Type>

Enumeration indicating the source of the file submition.


Enum Constant Summary
FILE
          File submitted automatically after FileDocument creation/update through FileProcessorDBListenerStoreListener.
FILESET
          File(s) re-submitted manually through FileProcessorAdminHandler/opSubmitAgain.
SCANNER
          File(s) submitted through detection of DirectoryScanner.
 
Method Summary
static ProcessingData.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ProcessingData.Type[] 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

SCANNER

public static final ProcessingData.Type SCANNER
File(s) submitted through detection of DirectoryScanner.


FILESET

public static final ProcessingData.Type FILESET
File(s) re-submitted manually through FileProcessorAdminHandler/opSubmitAgain.

May also be used individually by some plugins or custom development to resubmit several files.


FILE

public static final ProcessingData.Type FILE
File submitted automatically after FileDocument creation/update through FileProcessorDBListenerStoreListener.

May also be used individually by some plugins or custom development to resubmit one file.

Method Detail

values

public static ProcessingData.Type[] 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 (ProcessingData.Type c : ProcessingData.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ProcessingData.Type 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 © 2001-2010 Jalios SA. All Rights Reserved.