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.REMOVEpublic 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.CHANGEpublic List<SystemPropertyChangeEnvironmentFacet> build()
Copyright © 2005–2016 MojoHaus. All rights reserved.