Package de.xima.fc.workflow.converter
Enum EFormPersistFile
- java.lang.Object
 - 
- java.lang.Enum<EFormPersistFile>
 - 
- de.xima.fc.workflow.converter.EFormPersistFile
 
 
 
- 
- All Implemented Interfaces:
 Serializable,Comparable<EFormPersistFile>
public enum EFormPersistFile extends Enum<EFormPersistFile>
Enumeration of the different form persist files.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Enum Constant Summary
Enum Constants Enum Constant Description ENTIRE_FORMExport of the entire formFORM_DESIGNER_LIVECYCLEAdobe live cycle.FORM_DESIGNER_PERSISTForm designer persist file.WORKFLOW_DESIGNERWorkflow designer persist file. 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract intcomputeScore(GenericFormPersistFile file)intcomputeScoreOrZero(GenericFormPersistFile file)static Optional<EFormPersistFile>determineType(GenericFormPersistFile file)static EFormPersistFilevalueOf(String name)Returns the enum constant of this type with the specified name.static EFormPersistFile[]values()Returns an array containing the constants of this enum type, in the order they are declared. 
 - 
 
- 
- 
Enum Constant Detail
- 
ENTIRE_FORM
public static final EFormPersistFile ENTIRE_FORM
Export of the entire form 
- 
FORM_DESIGNER_LIVECYCLE
public static final EFormPersistFile FORM_DESIGNER_LIVECYCLE
Adobe live cycle. 
- 
FORM_DESIGNER_PERSIST
public static final EFormPersistFile FORM_DESIGNER_PERSIST
Form designer persist file. 
- 
WORKFLOW_DESIGNER
public static final EFormPersistFile WORKFLOW_DESIGNER
Workflow designer persist file. 
 - 
 
- 
Method Detail
- 
values
public static EFormPersistFile[] 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 (EFormPersistFile c : EFormPersistFile.values()) System.out.println(c);
- Returns:
 - an array containing the constants of this enum type, in the order they are declared
 
 
- 
valueOf
public static EFormPersistFile 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
 
- 
computeScore
public abstract int computeScore(GenericFormPersistFile file)
- Parameters:
 file- A file to process.- Returns:
 - A score that indicates how likely the given file is of this type. Higher score means more likey, 
0is most unlikely. 
 
- 
computeScoreOrZero
public final int computeScoreOrZero(GenericFormPersistFile file)
- Parameters:
 file- A file to process.- Returns:
 - A score that indicates how likely the given file is of this type, or 
0when an error occurs while compute the score. Higher score means more likely,0is most unlikely. 
 
- 
determineType
public static Optional<EFormPersistFile> determineType(GenericFormPersistFile file)
- Parameters:
 file- File to process.- Returns:
 - The most likely type for the file, empty if not a form persist file.
 
 
 - 
 
 -