public class SetSessionDescriptionTask extends SessionedTask<java.lang.Object>
Constructor and Description |
---|
SetSessionDescriptionTask(java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
_execute()
Subclasses implement this method
|
static void |
setSessionDescription(ConfigService configService, java.lang.String session, java.lang.String description)
Convenience method for setting session description
|
assertExists, assertLocation, assertNONResource, assertNotExists, assertNotLocationData, assertNotNull, assertNotNullElement, assertResource, assertSimple, call, doExecute, doExecute, doExecute, doExecute, expand, getConfigContext, getConfigMBean, getConfigService, getDescription, getSession, isLocation, isReadOnlyTransaction, requiresSystemTransaction
public SetSessionDescriptionTask(java.lang.String description)
public static void setSessionDescription(ConfigService configService, java.lang.String session, java.lang.String description) throws java.lang.Exception
configService
- the config service instancesession
- the session to set the description ofdescription
- the description to setjava.lang.Exception
- if an error occurs setting the descriptionpublic java.lang.Object _execute() throws java.lang.Exception
SessionedTask
_execute
in class SessionedTask<java.lang.Object>
java.lang.Exception