Enum VitamRestEasyConfiguration

    • Method Detail

      • values

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

        public static VitamRestEasyConfiguration 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
      • isTrue

        public final boolean isTrue​(java.util.Map<VitamRestEasyConfiguration,​java.lang.Object> config)
        Parameters:
        config -
        Returns:
        True of the associated Map contains True for this key
      • getObject

        public final java.lang.Object getObject​(java.util.Map<VitamRestEasyConfiguration,​java.lang.Object> config)
        Parameters:
        config -
        Returns:
        The Object of the associated Map for this key
      • getString

        public final java.lang.String getString​(java.util.Map<VitamRestEasyConfiguration,​java.lang.Object> config,
                                                java.lang.String defaultValue)
        Parameters:
        config -
        defaultValue -
        Returns:
        The String of the associated Map for this key or default value if not found
      • getInt

        public final int getInt​(java.util.Map<VitamRestEasyConfiguration,​java.lang.Object> config,
                                int defaultValue)
        Parameters:
        config -
        defaultValue -
        Returns:
        The int of the associated Map for this key or default value if not found