public class AssignEnvValuesTask extends SessionedTask<java.lang.Object>
| Constructor and Description |
|---|
AssignEnvValuesTask(java.util.Collection<QualifiedEnvValue> envValues)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
_execute()
Subclasses implement this method
|
static void |
assignEnvValues(ConfigService configService, java.lang.String session, java.util.Collection<QualifiedEnvValue> envValues)
Convenience method that creates an instance of this task and executes it
|
assertExists, assertLocation, assertNONResource, assertNotExists, assertNotLocationData, assertNotNull, assertNotNullElement, assertResource, assertSimple, call, doExecute, doExecute, doExecute, doExecute, expand, getConfigContext, getConfigMBean, getConfigService, getDescription, getSession, isLocation, isReadOnlyTransaction, requiresSystemTransactionpublic AssignEnvValuesTask(java.util.Collection<QualifiedEnvValue> envValues)
envValues - the env values to assignpublic static void assignEnvValues(ConfigService configService, java.lang.String session, java.util.Collection<QualifiedEnvValue> envValues) throws ValidationException, UpdateException
session - the session to execute against; null indicates coreenvValues - the env values to assignValidationException - if a validation error occursUpdateException - if an error occurs during updateprotected java.lang.Object _execute()
throws ValidationException,
UpdateException
SessionedTask_execute in class SessionedTask<java.lang.Object>ValidationExceptionUpdateException