Class EventHandler

java.lang.Object
com.netflix.conductor.common.metadata.events.EventHandler

public class EventHandler extends Object
Defines an event handler
  • Constructor Details

    • EventHandler

      public EventHandler()
  • Method Details

    • getName

      public String getName()
      Returns:
      the name MUST be unique within a conductor instance
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getEvent

      public String getEvent()
      Returns:
      the event
    • setEvent

      public void setEvent(String event)
      Parameters:
      event - the event to set
    • getCondition

      public String getCondition()
      Returns:
      the condition
    • setCondition

      public void setCondition(String condition)
      Parameters:
      condition - the condition to set
    • getActions

      public List<EventHandler.Action> getActions()
      Returns:
      the actions
    • setActions

      public void setActions(List<EventHandler.Action> actions)
      Parameters:
      actions - the actions to set
    • isActive

      public boolean isActive()
      Returns:
      the active
    • setActive

      public void setActive(boolean active)
      Parameters:
      active - if set to false, the event handler is deactivated
    • getEvaluatorType

      public String getEvaluatorType()
      Returns:
      the evaluator type
    • setEvaluatorType

      public void setEvaluatorType(String evaluatorType)
      Parameters:
      evaluatorType - the evaluatorType to set