All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.mojo.natives.AbstractEnvFactory Maven / Gradle / Ivy

There is a newer version: 1.0-M1
Show newest version
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