java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceActionEvent
All Implemented Interfaces:
Serializable

public class GovernanceActionEvent extends GovernanceEngineEvent
GovernanceActionEvent is used to inform the governance server that there is a governance action to run.
See Also:
  • Constructor Details

    • GovernanceActionEvent

      public GovernanceActionEvent()
      Default constructor
    • GovernanceActionEvent

      public GovernanceActionEvent(GovernanceActionEvent template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
  • Method Details

    • getGovernanceActionGUID

      public String getGovernanceActionGUID()
      Return the unique identifier of the governance action.
      Returns:
      string guid
    • setGovernanceActionGUID

      public void setGovernanceActionGUID(String governanceActionGUID)
      Set up the unique identifier of the governance action.
      Parameters:
      governanceActionGUID - string guid
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class GovernanceEngineEvent
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class GovernanceEngineEvent
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class GovernanceEngineEvent
      Returns:
      int hash code