Package org.codehaus.mojo.natives.bcc
Class BCCEnvFactory
- java.lang.Object
-
- org.codehaus.mojo.natives.bcc.BCCEnvFactory
-
- All Implemented Interfaces:
EnvFactory
public class BCCEnvFactory extends java.lang.Object implements EnvFactory
BCC Environment Setup
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
BCC_INSTALL_ENV_KEY
private static java.lang.String
DEFAULT_BCC_INSTALL_DIR
private static java.util.Map<java.lang.String,java.lang.String>
envs
-
Constructor Summary
Constructors Constructor Description BCCEnvFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.util.Map<java.lang.String,java.lang.String>
createEnvs()
java.util.Map<java.lang.String,java.lang.String>
getEnvironmentVariables()
-
-
-
Field Detail
-
BCC_INSTALL_ENV_KEY
private static final java.lang.String BCC_INSTALL_ENV_KEY
- See Also:
- Constant Field Values
-
DEFAULT_BCC_INSTALL_DIR
private static final java.lang.String DEFAULT_BCC_INSTALL_DIR
- See Also:
- Constant Field Values
-
envs
private static java.util.Map<java.lang.String,java.lang.String> envs
-
-
Method Detail
-
getEnvironmentVariables
public java.util.Map<java.lang.String,java.lang.String> getEnvironmentVariables() throws NativeBuildException
- Specified by:
getEnvironmentVariables
in interfaceEnvFactory
- Returns:
- a map of environment variable/value pairs
- Throws:
NativeBuildException
-
createEnvs
private java.util.Map<java.lang.String,java.lang.String> createEnvs() throws NativeBuildException
- Throws:
NativeBuildException
-
-