Enum AutoSaveConfiguration.AutoSaveStrategyType
- java.lang.Object
-
- java.lang.Enum<AutoSaveConfiguration.AutoSaveStrategyType>
-
- com.adobe.cq.forms.core.components.models.form.AutoSaveConfiguration.AutoSaveStrategyType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AutoSaveConfiguration.AutoSaveStrategyType>
- Enclosing interface:
- AutoSaveConfiguration
public static enum AutoSaveConfiguration.AutoSaveStrategyType extends java.lang.Enum<AutoSaveConfiguration.AutoSaveStrategyType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TIME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoSaveConfiguration.AutoSaveStrategyTypefromString(java.lang.String strategyType)Given aStringstrategyType, this method returns the enum's value that corresponds to the provided string representationjava.lang.StringgetStrategyType()java.lang.StringtoString()static AutoSaveConfiguration.AutoSaveStrategyTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AutoSaveConfiguration.AutoSaveStrategyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIME
public static final AutoSaveConfiguration.AutoSaveStrategyType TIME
-
-
Method Detail
-
values
public static AutoSaveConfiguration.AutoSaveStrategyType[] 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 (AutoSaveConfiguration.AutoSaveStrategyType c : AutoSaveConfiguration.AutoSaveStrategyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutoSaveConfiguration.AutoSaveStrategyType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getStrategyType
public java.lang.String getStrategyType()
-
fromString
public static AutoSaveConfiguration.AutoSaveStrategyType fromString(java.lang.String strategyType)
Given aStringstrategyType, this method returns the enum's value that corresponds to the provided string representation- Parameters:
strategyType- the string representation for which an enum value should be returned- Returns:
- the corresponding enum value, if one was found
- Since:
- com.adobe.cq.forms.core.components.models.form 5.5.4
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<AutoSaveConfiguration.AutoSaveStrategyType>
-
-