Class EventHandler
java.lang.Object
com.netflix.conductor.common.metadata.events.EventHandler
Defines an event handler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEvent()getName()booleanisActive()voidsetActions(List<EventHandler.Action> actions) voidsetActive(boolean active) voidsetCondition(String condition) voidsetEvaluatorType(String evaluatorType) voidvoid
-
Constructor Details
-
EventHandler
public EventHandler()
-
-
Method Details
-
getName
- Returns:
- the name MUST be unique within a conductor instance
-
setName
- Parameters:
name- the name to set
-
getEvent
- Returns:
- the event
-
setEvent
- Parameters:
event- the event to set
-
getCondition
- Returns:
- the condition
-
setCondition
- Parameters:
condition- the condition to set
-
getActions
- Returns:
- the actions
-
setActions
- 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
- Returns:
- the evaluator type
-
setEvaluatorType
- Parameters:
evaluatorType- the evaluatorType to set
-