Enum AutoSaveConfiguration.AutoSaveStrategyType

    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getStrategyType

        public java.lang.String getStrategyType()
      • fromString

        public static AutoSaveConfiguration.AutoSaveStrategyType fromString​(java.lang.String strategyType)
        Given a String strategyType, 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