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 TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the unique identifier of the governance action.inthashCode()Return hash code for this objectvoidsetGovernanceActionGUID(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:
toStringin classGovernanceEngineEvent- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classGovernanceEngineEvent- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classGovernanceEngineEvent- Returns:
- int hash code
-