@Entity public class Situation extends LabeledStorable implements StepContainer, TriggerProvider, KeysRegeneratable
LOGGER| Constructor and Description |
|---|
Situation() |
Situation(Storable parent)
Constructor from parent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyToRegenerate(String key,
String script) |
void |
addStep(Step step) |
void |
fillKeysToRegenerate(Map<String,String> keysToRegenerate) |
void |
fillOperationEventTriggers(Set<OperationEventTrigger> triggers) |
void |
fillParsingRules(Set<OperationParsingRule> rules) |
void |
fillSituationEventTriggers(Set<SituationEventTrigger> triggers) |
void |
fillSteps(List<Step> steps) |
Set<EventTrigger> |
getAllEventTriggers()
Return all Event Triggers in one collection.
|
boolean |
getBooleanValidateIncoming() |
IntegrationStep |
getIntegrationStep()
Get Integration Step, checking against null/empty array element is performed.
|
Mep |
getMep() |
Object |
getNaturalId() |
Operation |
getParent() |
Set<ParsingRule> |
getParsingRules() |
void |
getScript(String key) |
void |
performActionsForImportIntoAnotherProject(Map<BigInteger,BigInteger> replacementMap,
BigInteger projectId,
UUID projectUuid,
boolean needToUpdateProjectId,
boolean needToGenerateNewId)
Update projectId/generate new ID if it needs.
|
void |
performPostCopyActions(boolean statusOff)
Initial value of Trigger state for copied situation should be set to InActive.
|
void |
performPostImportActions(BigInteger projectId,
BigInteger sessionId)
Perform post-import actions.
|
void |
removeKey(String key) |
Storable |
returnSimpleParent() |
void |
setParent(Operation parent) |
void |
setParsingRules(Set<OperationParsingRule> parsingRules) |
void |
setValidateIncoming(SituationLevelValidation validateIncoming) |
fillLabelscontains, copy, doAfterCreate, doAfterUpdate, doBeforeRemove, equals, findRootObject, findUsages, flush, getDescription, getExtendsParameters, getID, getManager, getPrefix, getStorableProp, getStoreInformationDelegate, getVersion, hashCode, move, performPostImportActionsParent, printStackTrace, remove, replicate, setDescription, setID, setNaturalId, setParent, setPrefix, setStorableProp, setVersion, store, toString, update, upStorableVersiongetName, setNameclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetStepsgetOperationEventTriggers, getSituationEventTriggersgetKeysToRegeneratecontains, copy, findRootObject, findUsages, flush, getDescription, getExtendsParameters, getProjectId, getStorableProp, getStoreInformationDelegate, move, performPostImportActionsParent, remove, replicate, setDescription, setNaturalId, setParent, setProjectId, setStorableProp, store, upStorableVersiongetID, setIDgetPrefix, setPrefixgetVersion, setVersionpublic Situation()
public Situation(Storable parent)
public Operation getParent()
getParent in interface StorablegetParent in class AbstractStorablepublic void setParent(Operation parent)
public Set<ParsingRule> getParsingRules()
public void setParsingRules(Set<OperationParsingRule> parsingRules)
public void fillParsingRules(Set<OperationParsingRule> rules)
public void fillSituationEventTriggers(Set<SituationEventTrigger> triggers)
fillSituationEventTriggers in interface TriggerProviderpublic void fillOperationEventTriggers(Set<OperationEventTrigger> triggers)
fillOperationEventTriggers in interface TriggerProviderpublic Set<EventTrigger> getAllEventTriggers()
getAllEventTriggers in interface TriggerProviderpublic void fillSteps(List<Step> steps)
fillSteps in interface StepContainerpublic void addStep(Step step)
public Mep getMep()
public IntegrationStep getIntegrationStep()
public void fillKeysToRegenerate(@Nonnull Map<String,String> keysToRegenerate)
fillKeysToRegenerate in interface KeysRegeneratablepublic void addKeyToRegenerate(@Nonnull String key, @Nonnull String script)
addKeyToRegenerate in interface KeysRegeneratablepublic void getScript(@Nonnull String key)
getScript in interface KeysRegeneratablepublic void removeKey(@Nonnull String key)
removeKey in interface KeysRegeneratablepublic void performPostCopyActions(boolean statusOff)
performPostCopyActions in interface StorableperformPostCopyActions in class AbstractStorablestatusOff - boolean value to set.public void performPostImportActions(BigInteger projectId, BigInteger sessionId)
AbstractStorableperformPostImportActions in interface StorableperformPostImportActions in class AbstractStorablepublic void setValidateIncoming(SituationLevelValidation validateIncoming)
public boolean getBooleanValidateIncoming()
public Storable returnSimpleParent()
returnSimpleParent in interface StorablereturnSimpleParent in class AbstractStorablepublic Object getNaturalId()
getNaturalId in interface StorablegetNaturalId in class AbstractStorablepublic void performActionsForImportIntoAnotherProject(Map<BigInteger,BigInteger> replacementMap, BigInteger projectId, UUID projectUuid, boolean needToUpdateProjectId, boolean needToGenerateNewId)
AbstractStorableperformActionsForImportIntoAnotherProject in interface StorableperformActionsForImportIntoAnotherProject in class AbstractStorableCopyright © 2025. All rights reserved.