Package com.saperion.util
Enum Class WSConfigFile
- All Implemented Interfaces:
com.saperion.util.configuration.ConfigurationFileHolder
,Serializable
,Comparable<WSConfigFile>
,Constable
public enum WSConfigFile
extends Enum<WSConfigFile>
implements com.saperion.util.configuration.ConfigurationFileHolder
Enum to represent all required webservice config files.
- Author:
- sts
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe MIME types property file.The SAPERION property file.The webservice property file. -
Method Summary
Modifier and TypeMethodDescriptionList<com.saperion.util.configuration.ConfigFileDescriptor>
com.saperion.util.configuration.ConfigFileDescriptor
static WSConfigFile
Returns the enum constant of this class with the specified name.static WSConfigFile[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SAPERION
The SAPERION property file. -
WEBSERVICE
The webservice property file. -
MIMETYPES
The MIME types property file.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getConfigFile
public com.saperion.util.configuration.ConfigFileDescriptor getConfigFile()- Specified by:
getConfigFile
in interfacecom.saperion.util.configuration.ConfigurationFileHolder
-
getAllConfigFiles
- Specified by:
getAllConfigFiles
in interfacecom.saperion.util.configuration.ConfigurationFileHolder
-