Enum TemplateManagerConstant
- java.lang.Object
-
- java.lang.Enum<TemplateManagerConstant>
-
- io.mosip.kernel.templatemanager.velocity.constant.TemplateManagerConstant
-
- All Implemented Interfaces:
Serializable,Comparable<TemplateManagerConstant>
public enum TemplateManagerConstant extends Enum<TemplateManagerConstant>
constants for NullPointerException Messages- Since:
- 10-10-2018
- Version:
- 1.0.0
- Author:
- Abhishek Kumar
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENCODING_TYPE_NULLTEMPATE_NAME_NULLTEMPLATE_INPUT_STREAM_NULLTEMPLATE_VALUES_NULLWRITER_NULL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()Getter for getting the messagestatic TemplateManagerConstantvalueOf(String name)Returns the enum constant of this type with the specified name.static TemplateManagerConstant[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WRITER_NULL
public static final TemplateManagerConstant WRITER_NULL
-
TEMPLATE_VALUES_NULL
public static final TemplateManagerConstant TEMPLATE_VALUES_NULL
-
TEMPLATE_INPUT_STREAM_NULL
public static final TemplateManagerConstant TEMPLATE_INPUT_STREAM_NULL
-
ENCODING_TYPE_NULL
public static final TemplateManagerConstant ENCODING_TYPE_NULL
-
TEMPATE_NAME_NULL
public static final TemplateManagerConstant TEMPATE_NAME_NULL
-
-
Method Detail
-
values
public static TemplateManagerConstant[] 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 (TemplateManagerConstant c : TemplateManagerConstant.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateManagerConstant 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 nameNullPointerException- if the argument is null
-
getMessage
public String getMessage()
Getter for getting the message- Returns:
- message
-
-