Package com.saperion.constants
Enum SaConstants.IniKind
- java.lang.Object
-
- java.lang.Enum<SaConstants.IniKind>
-
- com.saperion.constants.SaConstants.IniKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SaConstants.IniKind>
- Enclosing class:
- SaConstants
public static enum SaConstants.IniKind extends java.lang.Enum<SaConstants.IniKind>
several Ini kinds for usage in setSetting.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INI_MACHINE
indicates machine specific settings in global archief.iniINI_SYSTEM
indicates system settings in program.ini fileINI_USER
used for indicating user specific settings in archief.ini (located in USERS folder)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SaConstants.IniKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SaConstants.IniKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INI_USER
public static final SaConstants.IniKind INI_USER
used for indicating user specific settings in archief.ini (located in USERS folder)
-
INI_SYSTEM
public static final SaConstants.IniKind INI_SYSTEM
indicates system settings in program.ini file
-
INI_MACHINE
public static final SaConstants.IniKind INI_MACHINE
indicates machine specific settings in global archief.ini
-
-
Method Detail
-
values
public static SaConstants.IniKind[] 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 (SaConstants.IniKind c : SaConstants.IniKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SaConstants.IniKind 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 namejava.lang.NullPointerException
- if the argument is null
-
-