use of org.ggf.schemas.jsdl.x2005.x11.jsdlPosix.EnvironmentType in project airavata by apache.
the class JSDLUtils method addEnvVariable.
public static EnvironmentType addEnvVariable(JobDefinitionType def, String name, String value) {
POSIXApplicationType posixApp = getOrCreatePOSIXApplication(def);
EnvironmentType newEnv = posixApp.addNewEnvironment();
newEnv.setName(name);
newEnv.setStringValue(value);
return newEnv;
}
use of org.ggf.schemas.jsdl.x2005.x11.jsdlPosix.EnvironmentType in project airavata by apache.
the class JSDLUtils method addEnvVariable.
public static EnvironmentType addEnvVariable(JobDefinitionType def, String name, String value) {
POSIXApplicationType posixApp = getOrCreatePOSIXApplication(def);
EnvironmentType newEnv = posixApp.addNewEnvironment();
newEnv.setName(name);
newEnv.setStringValue(value);
return newEnv;
}
Aggregations