Package com.saperion.ngc.configuration
Enum Class ConfigurationSource
- All Implemented Interfaces:
Serializable
,Comparable<ConfigurationSource>
,Constable
Sources to load configuration options from.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe servlet-context (web.xml and includes).Global settings (webclient.properties).Graphics configuration (graphics.properties).Mail configuration (mailer.properties).OneDrive configuration (onedrive.properties).Saperion settings (saperion.properties).SAPViewer features (SAPViewerFeatures.properties).Sharebase configuration (sharebase.properties). -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationSource
Returns the enum constant of this class with the specified name.static ConfigurationSource[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTEXT
The servlet-context (web.xml and includes). -
GLOBAL
Global settings (webclient.properties). -
SAPERION
Saperion settings (saperion.properties). -
SAPVIEWER_FEATURES
SAPViewer features (SAPViewerFeatures.properties). -
MAILER
Mail configuration (mailer.properties). -
GRAPHICS
Graphics configuration (graphics.properties). -
SHAREBASE
Sharebase configuration (sharebase.properties). -
ONEDRIVE
OneDrive configuration (onedrive.properties).
-
-
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
-
getFilename
- Returns:
- the name of the file to load the configuration from or null, if this is not a file-based source (like CONTEXT)
-