Package io.inugami.api.models.events
Class EventBuilder
- java.lang.Object
-
- io.inugami.api.models.events.EventBuilder
-
- All Implemented Interfaces:
ApplyIfNotNullAndSameType,Builder<Event>
public class EventBuilder extends Object implements Builder<Event>, ApplyIfNotNullAndSameType
EventBuilder- Since:
- 24 mai 2017
-
-
Constructor Summary
Constructors Constructor Description EventBuilder()EventBuilder(Event event)EventBuilder(Bindings data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventBuilderaddAlerting(AlertingModel alerting)EventBuilderaddAlertings(List<AlertingModel> alertings)EventBuilderaddFrom(String from)EventBuilderaddMapper(String mapper)EventBuilderaddName(String name)EventBuilderaddProcessors(ProcessorModel... processors)EventBuilderaddProcessors(List<ProcessorModel> processors)EventBuilderaddProvider(String provider)EventBuilderaddScheduler(String scheduler)EventBuilderaddTarget(String name, String query)EventBuilderaddTargets(TargetConfig... targets)EventBuilderaddTargets(List<TargetConfig> targets)EventBuilderaddUntil(String until)Eventbuild()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.inugami.api.functionnals.ApplyIfNotNullAndSameType
buildStringMapper, ifNotNullAndSameType
-
-
-
-
Method Detail
-
addName
public EventBuilder addName(String name)
-
addFrom
public EventBuilder addFrom(String from)
-
addUntil
public EventBuilder addUntil(String until)
-
addProvider
public EventBuilder addProvider(String provider)
-
addScheduler
public EventBuilder addScheduler(String scheduler)
-
addMapper
public EventBuilder addMapper(String mapper)
-
addAlertings
public EventBuilder addAlertings(List<AlertingModel> alertings)
-
addAlerting
public EventBuilder addAlerting(AlertingModel alerting)
-
addProcessors
public EventBuilder addProcessors(List<ProcessorModel> processors)
-
addProcessors
public EventBuilder addProcessors(ProcessorModel... processors)
-
addTargets
public EventBuilder addTargets(List<TargetConfig> targets)
-
addTarget
public EventBuilder addTarget(String name, String query)
-
addTargets
public EventBuilder addTargets(TargetConfig... targets)
-
-