dryrun
Class ImportOptions
- java.lang.Object
-
- com.opencloud.rhino.management.config.ImportOptions
-
- All Implemented Interfaces:
Serializable
public final class ImportOptions extends Object implements Serializable
Additional options that can be specified when importing a declarative config bundle.
The default values for these options are as follows:
false
waitForSync
false
raEntityReconfiguration
doNotDeactivate
- Since:
- Rhino 3.0.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImportOptions.ResourceAdaptorEntityReconfigurationActionOptions for applying resource adaptor entity configuration.
-
Constructor Summary
Constructors Constructor Description ImportOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()booleanequals(Object o)ImportOptions.ResourceAdaptorEntityReconfigurationActiongetResourceAdaptorEntityReconfigurationAction()Get the option indicating how to handle reconfiguration of resource adaptor entities that do not supprt active reconfiguration.inthashCode()booleanisDryrun()Get the flag indicating whether or not the import should be treated as a dry run.booleanisWaitForSync()Get the flag indicating whether or not the import call should wait until desired state changes have been written to persistant storage.voidsetDryrun(boolean dryrun)Set the flag indicating whether or not the import should be treated as a dry run.voidsetResourceAdaptorEntityReconfigurationAction(ImportOptions.ResourceAdaptorEntityReconfigurationAction resourceAdaptorEntityReconfigurationAction)Set the option indicating how to handle reconfiguration of resource adaptor entities that do not supprt active reconfiguration.voidsetWaitForSync(boolean waitForSync)Set the flag indicating whether or not the import call should wait until desired state changes have been written to persistant storage.StringtoString()
-
-
-
Method Detail
-
setDryrun
public void setDryrun(boolean dryrun)
Set the flag indicating whether or not the import should be treated as a dry run. A dry run validates the import operation and returns a result as if the import would be applied but does not actually commit any changes to the SLEE.
- Parameters:
dryrun-trueif the import should be treated as a dry run,falseotherwise.- Since:
- Rhino 3.0.0
-
isDryrun
public boolean isDryrun()
Get the flag indicating whether or not the import should be treated as a dry run.
- Returns:
trueif the import should be treated as a dry run,falseotherwise.- Since:
- Rhino 3.0.0
-
setWaitForSync
public void setWaitForSync(boolean waitForSync)
Set the flag indicating whether or not the import call should wait until desired state changes have been written to persistant storage. The default behaviour is to return as soon as the reconfiguration transaction has ended.
- Parameters:
waitForSync-trueif the import process should wait for changes to be synced,falseotherwise.- Since:
- Rhino 3.0.0
-
isWaitForSync
public boolean isWaitForSync()
Get the flag indicating whether or not the import call should wait until desired state changes have been written to persistant storage.
- Returns:
trueif the import process should wait for changes to be synced,falseotherwise.- Since:
- Rhino 3.0.0
-
getResourceAdaptorEntityReconfigurationAction
public ImportOptions.ResourceAdaptorEntityReconfigurationAction getResourceAdaptorEntityReconfigurationAction()
Get the option indicating how to handle reconfiguration of resource adaptor entities that do not supprt active reconfiguration.
- Returns:
- the action to take if the configuration bundle contains configuration properties for a resource adaptor entity of a type that does not support active reconfiguration.
- Since:
- Rhino 3.0.0
-
setResourceAdaptorEntityReconfigurationAction
public void setResourceAdaptorEntityReconfigurationAction(ImportOptions.ResourceAdaptorEntityReconfigurationAction resourceAdaptorEntityReconfigurationAction)
Set the option indicating how to handle reconfiguration of resource adaptor entities that do not supprt active reconfiguration.
- Parameters:
resourceAdaptorEntityReconfigurationAction- the action to take if the configuration bundle contains configuration properties for a resource adaptor entity of a type that does not support active reconfiguration.- Since:
- Rhino 3.0.0
-
clone
public Object clone()
-
-