|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.client.model.impl.OperationRecorderConfig
public class OperationRecorderConfig
Encapsulates configuration options for the operation recorder.
Constructor Summary | |
---|---|
OperationRecorderConfig()
|
Method Summary | |
---|---|
ESOperationModifier |
getOperationModificator()
Returns the operation modificator. |
Boolean |
isCutOffIncomingCrossReferences()
Whether to cut off incoming cross references upon deletion. |
Boolean |
isDenyAddCutElementsToModelElements()
Whether cut elements are added as regular model elements at the end of a command. |
Boolean |
isEmitOperationsUponCommandCompletion()
Whether recoreded operations are emitted instantly or at command completion. |
Boolean |
isForceCommands()
Whether the usage of commands should be enforced. |
Boolean |
isRollbackAtCommandFailure()
Whether a rollback should be performed in case a command fails. |
void |
setCutOffIncomingCrossReferences(boolean shouldCutOffIncomingCrossReferences)
Whether to cut off incoming cross references upon deletion. |
void |
setDenyAddCutElementsToModelElements(Boolean shouldDenyAddCutElementsToModelElements)
Whether cut elements are added as regular model elements at the end of a command. |
void |
setEmitOperationsUponCommandCompletion(Boolean shouldEmitOperationsUponCommandCompletion)
Whether to emit the recorded instantly or at command completion. |
void |
setForceCommands(Boolean shouldForceCommands)
Whether the usage of commands should be enforced. |
void |
setRollBackInCaseOfCommandFailure(Boolean shouldPerformRollback)
Whether a rollback should be performed in case a command fails. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationRecorderConfig()
Method Detail |
---|
public Boolean isCutOffIncomingCrossReferences()
public Boolean isDenyAddCutElementsToModelElements()
public Boolean isForceCommands()
public Boolean isRollbackAtCommandFailure()
public Boolean isEmitOperationsUponCommandCompletion()
public void setCutOffIncomingCrossReferences(boolean shouldCutOffIncomingCrossReferences)
shouldCutOffIncomingCrossReferences
- true, if incoming cross references should be cut off, false otherwisepublic void setDenyAddCutElementsToModelElements(Boolean shouldDenyAddCutElementsToModelElements)
shouldDenyAddCutElementsToModelElements
- true, if cut elements should get added as regular model elements at the end of a command, false
otherwisepublic void setForceCommands(Boolean shouldForceCommands)
shouldForceCommands
- true, if the usage of commands should be mandatory, false otherwisepublic void setRollBackInCaseOfCommandFailure(Boolean shouldPerformRollback)
shouldPerformRollback
- true, if a rollback should be performed false otherwisepublic void setEmitOperationsUponCommandCompletion(Boolean shouldEmitOperationsUponCommandCompletion)
shouldEmitOperationsUponCommandCompletion
- true, if operations should only be emitted when a command completes, false otherwisepublic ESOperationModifier getOperationModificator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |