public class SystemEnvironmentFactory extends Object implements EnvironmentFactory
Constructor and Description |
---|
SystemEnvironmentFactory() |
Modifier and Type | Method and Description |
---|---|
String |
getEnvironment()
Gets the environment.
|
String |
getEnvironmentKeyName() |
boolean |
isCheckForSystemPropertyFirst() |
void |
setCheckForSystemPropertyFirst(boolean checkForSystemPropertyFirst)
Use this method with true to first check the System.getProperty() Method instead of System.getenv()
|
void |
setEnvironmentKeyName(String environmentKeyName) |
public String getEnvironment()
EnvironmentFactory
getEnvironment
in interface EnvironmentFactory
public String getEnvironmentKeyName()
public void setEnvironmentKeyName(String environmentKeyName)
public boolean isCheckForSystemPropertyFirst()
public void setCheckForSystemPropertyFirst(boolean checkForSystemPropertyFirst)
checkForSystemPropertyFirst
- the new check for system property firstCopyright © 2010-2016. All Rights Reserved.