public class CreateCustomizationFileTask extends SessionedTask<byte[]>
| Constructor and Description |
|---|
CreateCustomizationFileTask(java.util.Set<Ref> refs, java.util.Set<java.lang.String> envValueTypes)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
_execute()
Subclasses implement this method
|
static byte[] |
createFile(ConfigService configService, java.util.Set<Ref> refs, java.util.Set<java.lang.String> envValueTypes, java.lang.String session)
Convenience method to create and execute task
|
assertExists, assertLocation, assertNONResource, assertNotExists, assertNotLocationData, assertNotNull, assertNotNullElement, assertResource, assertSimple, call, doExecute, doExecute, doExecute, doExecute, expand, getConfigContext, getConfigMBean, getConfigService, getDescription, getSession, isLocation, isReadOnlyTransaction, requiresSystemTransactionpublic CreateCustomizationFileTask(java.util.Set<Ref> refs, java.util.Set<java.lang.String> envValueTypes)
refs - the resources to use in searchenvValueTypes - the env value types to use in searchprotected byte[] _execute()
throws java.lang.Exception
SessionedTask_execute in class SessionedTask<byte[]>java.lang.Exceptionpublic static byte[] createFile(ConfigService configService, java.util.Set<Ref> refs, java.util.Set<java.lang.String> envValueTypes, java.lang.String session) throws java.lang.Exception
configService - the config service instancerefs - resources to use in searchenvValueTypes - env value types to use in searchsession - the session to act on; null indicates corejava.lang.Exception - if an error occurs creating customization file