protected void configureEnv() {
        //TODO a sensor with the custom-environment variables?
        Map<String, String> envs=getEntity().getConfig(OpenShiftWebApp.ENV);
        if((envs!=null)&&(envs.size()!=0)){
            deployedApp.addEnvironmentVariables(envs);
            deployedApp.restart();
        }
    }
protected void configureEnv ( ) { Map < String , String > envs = getEntity ( ) . getConfig ( OpenShiftWebApp . ENV ) ; if ( ( envs != null ) && ( envs . size ( ) != 0 ) ) { deployedApp . addEnvironmentVariables ( envs ) ; deployedApp . restart ( ) ; } }
Add the env tot he application