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 class
ImportOptions.ResourceAdaptorEntityReconfigurationAction
Options 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 Object
clone()
boolean
equals(Object o)
ImportOptions.ResourceAdaptorEntityReconfigurationAction
getResourceAdaptorEntityReconfigurationAction()
Get the option indicating how to handle reconfiguration of resource adaptor entities that do not supprt active reconfiguration.int
hashCode()
boolean
isDryrun()
Get the flag indicating whether or not the import should be treated as a dry run.boolean
isWaitForSync()
Get the flag indicating whether or not the import call should wait until desired state changes have been written to persistant storage.void
setDryrun(boolean dryrun)
Set the flag indicating whether or not the import should be treated as a dry run.void
setResourceAdaptorEntityReconfigurationAction(ImportOptions.ResourceAdaptorEntityReconfigurationAction resourceAdaptorEntityReconfigurationAction)
Set the option indicating how to handle reconfiguration of resource adaptor entities that do not supprt active reconfiguration.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.String
toString()
-
-
-
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
-true
if the import should be treated as a dry run,false
otherwise.- 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:
true
if the import should be treated as a dry run,false
otherwise.- 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
-true
if the import process should wait for changes to be synced,false
otherwise.- 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:
true
if the import process should wait for changes to be synced,false
otherwise.- 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()
-
-