Enum CmsImportExportManager.TimestampMode

    • Method Detail

      • values

        public static CmsImportExportManager.TimestampMode[] 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 (CmsImportExportManager.TimestampMode c : CmsImportExportManager.TimestampMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CmsImportExportManager.TimestampMode 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
      • getEnum

        public static CmsImportExportManager.TimestampMode getEnum​(java.lang.String value)
        More robust version of Enum.valueOf(java.lang.Class, String) that is case insensitive and defaults for all "unreadable" arguments to the default timestamp mode.
        Parameters:
        value - the TimeMode value as String
        Returns:
        value as TimeMode object, or the default time mode, if value can't be converted to a TimeMode object.