Enum WebSphereExistingConfigurationSetting
- java.lang.Object
-
- java.lang.Enum<WebSphereExistingConfigurationSetting>
-
- org.codehaus.cargo.container.websphere.WebSphereExistingConfigurationSetting
-
- All Implemented Interfaces:
Serializable
,Comparable<WebSphereExistingConfigurationSetting>
public enum WebSphereExistingConfigurationSetting extends Enum<WebSphereExistingConfigurationSetting>
Enumeration of possible values for configuration propertyWebSpherePropertySet.OVERWRITE_EXISTING_CONFIGURATION
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
Both JVM args and system properties will be overwritten.JVM
Only JVM values (initialHeapSize, maximumHeapSize, genericJvmArguments) get changed.NONE
Existing profile stays unchanged.SystemProperties
Original system properties get removed, and replaced by those defined within the container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebSphereExistingConfigurationSetting
getByName(String name)
String
getName()
Name of this setting.static WebSphereExistingConfigurationSetting
valueOf(String name)
Returns the enum constant of this type with the specified name.static WebSphereExistingConfigurationSetting[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final WebSphereExistingConfigurationSetting ALL
Both JVM args and system properties will be overwritten.
-
JVM
public static final WebSphereExistingConfigurationSetting JVM
Only JVM values (initialHeapSize, maximumHeapSize, genericJvmArguments) get changed.
-
SystemProperties
public static final WebSphereExistingConfigurationSetting SystemProperties
Original system properties get removed, and replaced by those defined within the container.
-
NONE
public static final WebSphereExistingConfigurationSetting NONE
Existing profile stays unchanged. Provided system properties and JVM arguments get ignored.
-
-
Method Detail
-
values
public static WebSphereExistingConfigurationSetting[] 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 (WebSphereExistingConfigurationSetting c : WebSphereExistingConfigurationSetting.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebSphereExistingConfigurationSetting 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
-
getName
public String getName()
Name of this setting.- Returns:
- The name of this settings.
-
getByName
public static WebSphereExistingConfigurationSetting getByName(String name)
- Parameters:
name
- case insensitive name.- Returns:
- the value or null if not found.
-
-