public static enum SystemPropertyChangeEnvironmentFacet.ChangeType extends Enum<SystemPropertyChangeEnvironmentFacet.ChangeType>
Enum Constant and Description |
---|
ADD
Indicates that a System property should be added during
setup()
and removed during restore() . |
CHANGE
Indicates that a System property should be altered during
setup()
and restored during restore() |
REMOVE
Indicates that a System property should be removed during
setup()
and restored/re-added during restore() |
Modifier and Type | Method and Description |
---|---|
static SystemPropertyChangeEnvironmentFacet.ChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemPropertyChangeEnvironmentFacet.ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemPropertyChangeEnvironmentFacet.ChangeType ADD
setup()
and removed during restore()
. If the property was already present,
this behaves like #CHANGE
.public static final SystemPropertyChangeEnvironmentFacet.ChangeType REMOVE
setup()
and restored/re-added during restore()
public static final SystemPropertyChangeEnvironmentFacet.ChangeType CHANGE
setup()
and restored during restore()
public static SystemPropertyChangeEnvironmentFacet.ChangeType[] values()
for (SystemPropertyChangeEnvironmentFacet.ChangeType c : SystemPropertyChangeEnvironmentFacet.ChangeType.values()) System.out.println(c);
public static SystemPropertyChangeEnvironmentFacet.ChangeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2005–2017 MojoHaus. All rights reserved.