Class EngineActionProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.ProcessProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.actions.ActionProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.actions.EngineActionProperties
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
ConstructorsConstructorDescriptionDefault constructorEngineActionProperties
(EngineActionProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the list of completion guards supplied by the governance service.Return the optional message from the running governance service supplied on its completion.int
Return the identifier of the governance domain that this action belongs to (0=ALL/ANY).Return the unique identifier of governance engine that is processing the engine action.Return the unique name of governance engine that is processing the engine action.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 list of guards that must be received before this engine action can proceed.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 requesting userReturn the parameters to pass onto the governance service.Return the governance request type used to call the governance service via this governance engine.int
hashCode()
Return hash code for this objectvoid
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
setDomainIdentifier
(int domainIdentifier) Set up the identifier of the governance domain that this action belongs to (0=ALL/ANY).void
setExecutorEngineGUID
(String executorEngineGUID) Set up the unique identifier of governance engine that is processing the engine action.void
setExecutorEngineName
(String executorEngineName) Set up the unique name of governance engine that is processing the engine action.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
setMandatoryGuards
(List<String> mandatoryGuards) Set up the list of guards that must be received before this engine action can proceed.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
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
setRequestType
(String requestType) Set up the governance request type used to call the governance service via this governance engine.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.ProcessProperties
getActivityStatus, getCompletionTime, getDueTime, getFormula, getFormulaType, getLastPauseTime, getLastResumeTime, getLastReviewTime, getPriority, getRequestedStartTime, getRequestedTime, getStartTime, getUserDefinedActivityStatus, setActivityStatus, setCompletionTime, setDueTime, setFormula, setFormulaType, setLastPauseTime, setLastResumeTime, setLastReviewTime, setPriority, setRequestedStartTime, setRequestedTime, setStartTime, setUserDefinedActivityStatus
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetProperties
getDeployedImplementationType, getNamespace, getResourceName, getSource, getUserDefinedStatus, setDeployedImplementationType, setNamespace, setResourceName, setSource, setUserDefinedStatus
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getCategory, getDescription, getDisplayName, getQualifiedName, getVersionIdentifier, setAdditionalProperties, setCategory, setDescription, setDisplayName, setQualifiedName, setVersionIdentifier
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeName
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Constructor Details
-
EngineActionProperties
public EngineActionProperties()Default constructor -
EngineActionProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getDomainIdentifier
public int getDomainIdentifier()Return the identifier of the governance domain that this action belongs to (0=ALL/ANY).- Returns:
- int
-
setDomainIdentifier
public void setDomainIdentifier(int domainIdentifier) Set up the identifier of the governance domain that this action belongs to (0=ALL/ANY).- Parameters:
domainIdentifier
- int
-
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
-
getExecutorEngineGUID
Return the unique identifier of governance engine that is processing the engine action.- Returns:
- string guid
-
setExecutorEngineGUID
Set up the unique identifier of governance engine that is processing the engine action.- Parameters:
executorEngineGUID
- string guid
-
getExecutorEngineName
Return the unique name of governance engine that is processing the engine action.- Returns:
- string name
-
setExecutorEngineName
Set up the unique name of governance engine that is processing the engine action.- Parameters:
executorEngineName
- 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
-
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
-
getRequesterUserId
Return the requesting user- Returns:
- string
-
setRequesterUserId
Set up the requesting user.- Parameters:
requesterUserId
- string
-
getRequestType
Return the governance request type used to call the governance service via this governance engine.- Returns:
- name of the request type
-
setRequestType
Set up the governance request type used to call the governance service via this governance engine.- Parameters:
requestType
- name of the request type passed to the governance service
-
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
-
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
-
toString
JSON-style toString- Overrides:
toString
in classActionProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classProcessProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classProcessProperties
- Returns:
- int hash code
-