org.codehaus.mojo.natives.AbstractEnvFactory Maven / Gradle / Ivy
package org.codehaus.mojo.natives;
import java.util.Map;
public abstract class AbstractEnvFactory
implements EnvFactory
{
private static Map envs;
public synchronized Map getEnvironmentVariables()
throws NativeBuildException
{
if ( envs == null )
{
envs = createEnvs();
}
return envs;
}
protected abstract Map createEnvs()
throws NativeBuildException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy