Class WatchdogGovernanceServiceEvent

java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
org.odpi.openmetadata.accessservices.governanceengine.events.WatchdogGovernanceServiceEvent

public class WatchdogGovernanceServiceEvent extends GovernanceEngineEvent
WatchdogGovernanceServiceEvent holds a formatted event for a watchdog governance action service.
  • Constructor Details

    • WatchdogGovernanceServiceEvent

      public WatchdogGovernanceServiceEvent()
      Default constructor
    • WatchdogGovernanceServiceEvent

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

    • getWatchdogGovernanceEvent

      public WatchdogGovernanceEvent getWatchdogGovernanceEvent()
      Return the event for running Watchdog Governance Action Services.
      Returns:
      GAF event structure
    • settWatchdogGovernanceEvent

      public void settWatchdogGovernanceEvent(WatchdogGovernanceEvent watchdogGovernanceEvent)
      Set up the event for running Watchdog Governance Action Services.
      Parameters:
      watchdogGovernanceEvent - GAF event structure
    • 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