public static class SystemPropertyChangeEnvironmentFacet.SystemPropertyChangesBuilder extends Object
Modifier and Type | Method and Description |
---|---|
SystemPropertyChangeEnvironmentFacet.SystemPropertyChangesBuilder |
addOrChange(String propertyName,
String value)
Adds a SystemPropertyChange which adds or changes the named System property.
|
List<SystemPropertyChangeEnvironmentFacet> |
build() |
SystemPropertyChangeEnvironmentFacet.SystemPropertyChangesBuilder |
remove(String propertyName)
Adds a SystemPropertyChange which removes the named System property.
|
public SystemPropertyChangeEnvironmentFacet.SystemPropertyChangesBuilder remove(String propertyName)
propertyName
- The name of the system property for which to create a REMOVE-type SystemPropertyChange.SystemPropertyChangeEnvironmentFacet.ChangeType.REMOVE
public SystemPropertyChangeEnvironmentFacet.SystemPropertyChangesBuilder addOrChange(String propertyName, String value)
propertyName
- The name of the system property for which to create an
ADD- or CREATE-type SystemPropertyChange.value
- The new value of the system property to set.SystemPropertyChangeEnvironmentFacet.ChangeType.ADD
,
SystemPropertyChangeEnvironmentFacet.ChangeType.CHANGE
public List<SystemPropertyChangeEnvironmentFacet> build()
Copyright © 2005–2015 MojoHaus. All rights reserved.