Class GovernanceActionEvent
java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceActionEvent
- All Implemented Interfaces:
Serializable
GovernanceActionEvent is used to inform the governance server that there is a governance action to run.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorGovernanceActionEvent
(GovernanceActionEvent template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the unique identifier of the governance action.int
hashCode()
Return hash code for this objectvoid
setGovernanceActionGUID
(String governanceActionGUID) Set up the unique identifier of the governance action.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
getEventType, getEventVersionId, getGovernanceEngineGUID, getGovernanceEngineName, setEventType, setEventVersionId, setGovernanceEngineGUID, setGovernanceEngineName
-
Constructor Details
-
GovernanceActionEvent
public GovernanceActionEvent()Default constructor -
GovernanceActionEvent
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getGovernanceActionGUID
Return the unique identifier of the governance action.- Returns:
- string guid
-
setGovernanceActionGUID
Set up the unique identifier of the governance action.- Parameters:
governanceActionGUID
- string guid
-
toString
JSON-style toString- Overrides:
toString
in classGovernanceEngineEvent
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classGovernanceEngineEvent
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classGovernanceEngineEvent
- Returns:
- int hash code
-