Package de.xima.fc.workflow.taglib.enums
Enum EFlowchartBackupRequestSource
- java.lang.Object
-
- java.lang.Enum<EFlowchartBackupRequestSource>
-
- de.xima.fc.workflow.taglib.enums.EFlowchartBackupRequestSource
-
- All Implemented Interfaces:
Serializable
,Comparable<EFlowchartBackupRequestSource>
public enum EFlowchartBackupRequestSource extends Enum<EFlowchartBackupRequestSource>
Enumeration of the possible request source that may trigger a backup detect event.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SAFETY_BACKUP
Backup was triggered automatically when the flowchart was loaded and a safety backup was found in the local storage.UNKNOWN
Unknown request source.UPLOAD_FILE
Backup was triggered by theFlowchartWidget
API calluploadFile
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EFlowchartBackupRequestSource
ofOrUnknown(String string)
static EFlowchartBackupRequestSource
valueOf(String name)
Returns the enum constant of this type with the specified name.static EFlowchartBackupRequestSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAFETY_BACKUP
public static final EFlowchartBackupRequestSource SAFETY_BACKUP
Backup was triggered automatically when the flowchart was loaded and a safety backup was found in the local storage.
-
UNKNOWN
public static final EFlowchartBackupRequestSource UNKNOWN
Unknown request source.
-
UPLOAD_FILE
public static final EFlowchartBackupRequestSource UPLOAD_FILE
Backup was triggered by theFlowchartWidget
API calluploadFile
.
-
-
Method Detail
-
values
public static EFlowchartBackupRequestSource[] 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 (EFlowchartBackupRequestSource c : EFlowchartBackupRequestSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFlowchartBackupRequestSource 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
-
ofOrUnknown
public static EFlowchartBackupRequestSource ofOrUnknown(String string)
- Parameters:
string
- String to parse.- Returns:
- The request source represented by the string, or
UNKNOWN
when it is not a valid source.
-
-