Class GovernanceActionProcessStepExecution
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeProperties
org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepProperties
org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepExecution
EngineActionElement contains the properties and header for a EngineAction entity retrieved from the metadata
repository that represents the execution of a call to a governance engine. This may be triggered by directly
creating the engine action, or using a governance action type as a template or as a step in a governance action
process.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructorCopy/clone constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the current status of the engine action.Return the list of elements that the engine action will work on.Return the list of completion guards supplied by the governance service.Return the optional message from the running governance service supplied on its completion.Return the date/time that the governance service completed (or null if not yet completed).Return the list of engine actions that will run after this engine action has completed.Return the unique identifier for the governance action type that acted as a template for this engine action (if appropriate).Return the unique name for the governance action type that acted as a template for this engine action (if appropriate).Return the unique name of governance engine that is processing the engine action.Return the list of guards that must be received before this engine action can proceed.Return the list of engine actions that preceded this engine action.Return the userId of the governance engine that is responsible for running the governance service for this engine action.Return the name of the governance action process - or similar request source.Return the unique identifier for the governance action process step that acted as a template for this engine action (if appropriate).Return the unique name for the governance action process step that acted as a template for this engine action (if appropriate).Return the list of guards provided by the previous governance service(s).Return the time that the engine action should start.Return the time that the engine action was created.Return the requesting userReturn the parameters to pass onto the governance service.Return the list of elements that triggered this request.Return the time that this engine action should start (null means as soon as possible).int
hashCode()
Return hash code for this objectvoid
setActionStatus
(EngineActionStatus actionStatus) Set up the current status of the engine action.void
setActionTargetElements
(List<ActionTargetElement> actionTargetElements) Set up the list of elements that the engine action will work on.void
setCompletionGuards
(List<String> completionGuards) Set up the list of completion guards supplied by the governance service.void
setCompletionMessage
(String completionMessage) Set up optional message from the running governance service supplied on its completion.void
setCompletionTime
(Date completionTime) Set up the date/time that the governance service completed (or null if not yet completed).void
setFollowOnActions
(List<RelatedEngineActionElement> followOnActions) Set up the list of engine actions that will run after this engine action has completed.void
setGovernanceActionTypeGUID
(String governanceActionTypeGUID) Set up the unique identifier for the governance action type that acted as a template for this engine action (if appropriate).void
setGovernanceActionTypeName
(String governanceActionTypeName) Set up the unique name for the governance action type that acted as a template for this engine action (if appropriate).void
setGovernanceEngineName
(String governanceEngineName) Set up the unique name of governance engine that is processing the engine action.void
setMandatoryGuards
(List<String> mandatoryGuards) Set up the list of guards that must be received before this engine action can proceed.void
setPreviousActions
(List<RelatedEngineActionElement> previousActions) Set up the list of engine actions that preceded this engine action.void
setProcessingEngineUserId
(String processingEngineUserId) Set up the userId of the governance engine that is responsible for running the governance service for this engine action.void
setProcessName
(String processName) Set up the name of the governance action process - or similar request source.void
setProcessStepGUID
(String processStepGUID) Set up the unique identifier for the governance action process step that acted as a template for this engine action (if appropriate).void
setProcessStepName
(String processStepName) Set up the unique name for the governance action process step that acted as a template for this engine action (if appropriate).void
setReceivedGuards
(List<String> receivedGuards) Set up the list of guards provided by the previous governance service(s).void
setRequestedStartTime
(Date requestedStartTime) Set up the time that the engine action should start.void
setRequestedTime
(Date requestedTime) Set up the time that the engine action was created.void
setRequesterUserId
(String requesterUserId) Set up the requesting user.void
setRequestParameters
(Map<String, String> requestParameters) Set up the parameters to pass onto the governance service.void
setRequestSourceElements
(List<RequestSourceElement> requestSourceElements) Set up the list of elements that triggered this request.void
setStartTime
(Date startTime) Set up the time that this engine action should start (null means as soon as possible).Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepProperties
getIgnoreMultipleTriggers, setIgnoreMultipleTriggers, toString
Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeProperties
getDescription, getDisplayName, getDomainIdentifier, getFixedRequestParameters, getGovernanceEngineGUID, getProducedActionTargetTypes, getProducedGuards, getProducedRequestParameters, getRequestType, getSupportedActionTargetTypes, getSupportedRequestParameters, getWaitTime, setDescription, setDisplayName, setDomainIdentifier, setFixedRequestParameters, setGovernanceEngineGUID, setProducedActionTargetTypes, setProducedGuards, setProducedRequestParameters, setRequestType, setSupportedActionTargetTypes, setSupportedRequestParameters, setWaitTime
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
GovernanceActionProcessStepExecution
public GovernanceActionProcessStepExecution()Default constructor -
GovernanceActionProcessStepExecution
Copy/clone constructor- Parameters:
template
- object to copy
-
GovernanceActionProcessStepExecution
Copy/clone constructor- Parameters:
template
- object to copy
-
GovernanceActionProcessStepExecution
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getMandatoryGuards
Return the list of guards that must be received before this engine action can proceed.- Returns:
- list of guards
-
setMandatoryGuards
Set up the list of guards that must be received before this engine action can proceed.- Parameters:
mandatoryGuards
- list of guards
-
getReceivedGuards
Return the list of guards provided by the previous governance service(s).- Returns:
- list of guards
-
setReceivedGuards
Set up the list of guards provided by the previous governance service(s).- Parameters:
receivedGuards
- list of guards
-
getGovernanceEngineName
Return the unique name of governance engine that is processing the engine action.- Returns:
- string name
-
setGovernanceEngineName
Set up the unique name of governance engine that is processing the engine action.- Parameters:
governanceEngineName
- string name
-
getGovernanceActionTypeGUID
Return the unique identifier for the governance action type that acted as a template for this engine action (if appropriate).- Returns:
- guid
-
setGovernanceActionTypeGUID
Set up the unique identifier for the governance action type that acted as a template for this engine action (if appropriate).- Parameters:
governanceActionTypeGUID
- guid
-
getGovernanceActionTypeName
Return the unique name for the governance action type that acted as a template for this engine action (if appropriate).- Returns:
- name
-
setGovernanceActionTypeName
Set up the unique name for the governance action type that acted as a template for this engine action (if appropriate).- Parameters:
governanceActionTypeName
- name
-
getProcessName
Return the name of the governance action process - or similar request source.- Returns:
- name
-
setProcessName
Set up the name of the governance action process - or similar request source.- Parameters:
processName
- name
-
getProcessStepGUID
Return the unique identifier for the governance action process step that acted as a template for this engine action (if appropriate).- Returns:
- guid
-
setProcessStepGUID
Set up the unique identifier for the governance action process step that acted as a template for this engine action (if appropriate).- Parameters:
processStepGUID
- guid
-
getProcessStepName
Return the unique name for the governance action process step that acted as a template for this engine action (if appropriate).- Returns:
- name
-
setProcessStepName
Set up the unique name for the governance action process step that acted as a template for this engine action (if appropriate).- Parameters:
processStepName
- name
-
getActionStatus
Return the current status of the engine action.- Returns:
- status enum
-
setActionStatus
Set up the current status of the engine action.- Parameters:
actionStatus
- status enum
-
getProcessingEngineUserId
Return the userId of the governance engine that is responsible for running the governance service for this engine action.- Returns:
- string userId
-
setProcessingEngineUserId
Set up the userId of the governance engine that is responsible for running the governance service for this engine action.- Parameters:
processingEngineUserId
- string userId
-
getRequestSourceElements
Return the list of elements that triggered this request.- Returns:
- list of elements
-
setRequestSourceElements
Set up the list of elements that triggered this request.- Parameters:
requestSourceElements
- list of elements
-
getActionTargetElements
Return the list of elements that the engine action will work on.- Returns:
- list of elements
-
setActionTargetElements
Set up the list of elements that the engine action will work on.- Parameters:
actionTargetElements
- list of elements
-
getRequestedTime
Return the time that the engine action was created.- Returns:
- date/time
-
setRequestedTime
Set up the time that the engine action was created.- Parameters:
requestedTime
- date/time
-
getRequestedStartTime
Return the time that the engine action should start.- Returns:
- date/time
-
setRequestedStartTime
Set up the time that the engine action should start.- Parameters:
requestedStartTime
- date/time
-
getStartTime
Return the time that this engine action should start (null means as soon as possible).- Returns:
- date object
-
setStartTime
Set up the time that this engine action should start (null means as soon as possible).- Parameters:
startTime
- date object
-
getRequesterUserId
Return the requesting user- Returns:
- string
-
setRequesterUserId
Set up the requesting user.- Parameters:
requesterUserId
- string
-
getRequestParameters
Return the parameters to pass onto the governance service.- Returns:
- map of properties
-
setRequestParameters
Set up the parameters to pass onto the governance service.- Parameters:
requestParameters
- map of properties
-
getCompletionTime
Return the date/time that the governance service completed (or null if not yet completed).- Returns:
- date object
-
setCompletionTime
Set up the date/time that the governance service completed (or null if not yet completed).- Parameters:
completionTime
- date object
-
getCompletionGuards
Return the list of completion guards supplied by the governance service.- Returns:
- list of guards
-
setCompletionGuards
Set up the list of completion guards supplied by the governance service.- Parameters:
completionGuards
- list of guards
-
getCompletionMessage
Return the optional message from the running governance service supplied on its completion.- Returns:
- string message
-
setCompletionMessage
Set up optional message from the running governance service supplied on its completion.- Parameters:
completionMessage
- string message
-
getPreviousActions
Return the list of engine actions that preceded this engine action.- Returns:
- list of element stubs
-
setPreviousActions
Set up the list of engine actions that preceded this engine action.- Parameters:
previousActions
- list of element stubs
-
getFollowOnActions
Return the list of engine actions that will run after this engine action has completed.- Returns:
- list of element stubs
-
setFollowOnActions
Set up the list of engine actions that will run after this engine action has completed.- Parameters:
followOnActions
- list of element stubs
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classGovernanceActionProcessStepProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classGovernanceActionProcessStepProperties
- Returns:
- int hash code
-