public class OperationRecorderConfig extends Object
| Constructor and Description |
|---|
OperationRecorderConfig() |
| Modifier and Type | Method and Description |
|---|---|
ESOperationModifier |
getOperationModifier()
Returns the operation modifier in use.
|
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 |
setOperationModifier(ESOperationModifier operationModifier)
Set the operation modifier that enables to modify operations whenever they have been recored
|
void |
setRollBackInCaseOfCommandFailure(Boolean shouldPerformRollback)
Whether a rollback should be performed in case a command fails.
|
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 void setOperationModifier(ESOperationModifier operationModifier)
operationModifier - the operation modifier to be setpublic ESOperationModifier getOperationModifier()
Copyright © 2017. All rights reserved.