Enum Messages.Resource

    • Enum Constant Detail

      • RESOURCE_DYNAMIC_NOT_FOUND

        public static final Messages.Resource RESOURCE_DYNAMIC_NOT_FOUND
      • ERROR_RESOURCE_NOT_FOUND_NULL

        public static final Messages.Resource ERROR_RESOURCE_NOT_FOUND_NULL
      • ERROR_RESOURCE_NOT_FOUND_WITH_VALUE

        public static final Messages.Resource ERROR_RESOURCE_NOT_FOUND_WITH_VALUE
    • Method Detail

      • values

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

        public static Messages.Resource 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 name
        NullPointerException - if the argument is null
      • template

        public String template()
        Specified by:
        template in interface de.codecentric.reedelk.runtime.api.commons.FormattedMessage