public class SystemPropertyChangeEnvironmentFacet extends AbstractLogAwareFacet
Modifier and Type | Class and Description |
---|---|
static class |
SystemPropertyChangeEnvironmentFacet.ChangeType
Operation definitions indicating how a System property should be changed by this EnvironmentFacet.
|
static class |
SystemPropertyChangeEnvironmentFacet.SystemPropertyChangesBuilder
Builder class intended to simplify creating SystemPropertyChange EnvironmentFacets.
|
log
Modifier and Type | Method and Description |
---|---|
static SystemPropertyChangeEnvironmentFacet.SystemPropertyChangesBuilder |
getBuilder(org.apache.maven.plugin.logging.Log mavenLog)
Creates a SystemPropertyChangesBuilder which uses the supplied active Maven Log.
|
void |
restore()
Restores the original Environment, implying that the change performed in
setup()
method are restored to the state before the setup method was called. |
void |
setup()
Sets up this Environment, inferring temporary changes to environment variables or conditions.
|
String |
toString() |
public void setup()
restore()
method.public void restore()
setup()
method are restored to the state before the setup method was called.public String toString()
public static SystemPropertyChangeEnvironmentFacet.SystemPropertyChangesBuilder getBuilder(org.apache.maven.plugin.logging.Log mavenLog)
mavenLog
- The active Maven Log to be used by all SystemPropertyChange objects created
by this SystemPropertyChangesBuilder.Copyright © 2005–2015 MojoHaus. All rights reserved.