public class StepDataStore extends Step
Step that represent a step based on a datastore.
Such step will be used to make Journalize or Control action over an OdiDataStore.
Note: the current implementation doesn't support KM options overriding. Default values will be used.
| Modifier and Type | Class and Description |
|---|---|
static class |
StepDataStore.ConsistentJournalizeDataStore
Consistent CDC action.
|
static class |
StepDataStore.ControlDataStore
Implements control action for an
StepDataStore. |
static interface |
StepDataStore.IDataStoreAction
Type safety interface that implementation classes will use to define
datastore actions.
|
static class |
StepDataStore.SimpleJournalizeDataStore
Implements simple journalization action for an
StepDataStore. |
Step.LogLevelNAME_MAX_LENGTH| Constructor and Description |
|---|
StepDataStore(OdiPackage pPackage,
OdiDataStore pDataStore,
java.lang.String pName)
Constructor that sets the Parent
OdiPackage, the OdiDataStore upon which this
Step is based and the name of this Step instance. |
| Modifier and Type | Method and Description |
|---|---|
StepDataStore.IDataStoreAction |
getAction()
Get the action associated to this step.
|
OdiDataStore |
getDataStore()
Returns the datastore upon which this step is based.
|
OdiDataStore |
getDataStoreShortcut()
Internal use only.
|
void |
setAction(StepDataStore.IDataStoreAction pDatastoreAction)
Defines the action associated to this step.
|
getFailureRetryDelay, getFailureRetryNumber, getInternalId, getLoglevel, getName, getNextStepAfterFailure, getNextStepAfterSuccess, getParentPackage, getSecurityContainer, getStepId, isFirstStep, setFailureRetryDelay, setFailureRetryNumber, setLoglevel, setName, setNextStepAfterFailure, setNextStepAfterSuccesspublic StepDataStore(OdiPackage pPackage, OdiDataStore pDataStore, java.lang.String pName)
OdiPackage, the OdiDataStore upon which this
Step is based and the name of this Step instance.
This constructor creates a StepDataStore with a StepDataStore.ControlDataStore action
that doesn't control delete errors.
pPackage - the owning packagepDataStore - the datastorepName - the name of the stepDomainRuntimeException - if the package or datastore is null, or if given
name if null, empty or longer than public OdiDataStore getDataStore()
public OdiDataStore getDataStoreShortcut()
public StepDataStore.IDataStoreAction getAction()
StepDataStore.IDataStoreAction objectsetAction(IDataStoreAction)public void setAction(StepDataStore.IDataStoreAction pDatastoreAction)
By default, the action defined is a StepDataStore.ControlDataStore that doesn't check delete errors.
pDatastoreAction - the action to be made by this stepDomainRuntimeException - if the given action is nullgetAction()