Class EasyTriggers
java.lang.Object
gg.xp.xivsupport.events.triggers.easytriggers.EasyTriggers
-
Constructor Summary
ConstructorDescriptionEasyTriggers
(org.picocontainer.PicoContainer pico, PersistenceProvider pers, XivState state, EventMaster master) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTrigger
(EasyTrigger<?> trigger) void
commit()
exportToString
(List<EasyTrigger<?>> toExport) <X extends Action<Y>,
Y>
ActionDescription<X,Y> getActionDescription
(Class<X> action) List<ActionDescription<?,
?>> <X> List<ActionDescription<?,
?>> getActionsApplicableTo
(HasMutableActions<X> trigger) <X extends Condition<Y>,
Y>
ConditionDescription<X,Y> getConditionDescription
(Class<X> cond) List<ConditionDescription<?,
?>> <X> List<ConditionDescription<?,
?>> getConditionsApplicableTo
(HasMutableConditions<X> trigger) <X> @Nullable EventDescription<X>
getEventDescription
(Class<X> event) List<EventDescription<?>>
List<EasyTrigger<?>>
List<EasyTrigger<?>>
importFromString
(String string) void
initAll
(EventContext context, InitEvent init) void
@Nullable EasyTrigger<?>
makeTriggerFromEvent
(Event event, EasyTriggerCreationQuestions questions) void
registerActionType
(ActionDescription<?, ?> actionDescription) void
registerConditionType
(ConditionDescription<?, ?> conditionDescription) void
registerEventType
(EventDescription<?> eventDescription) void
removeTrigger
(EasyTrigger<?> trigger) void
runEasyTriggers
(EventContext context, Event event)
-
Constructor Details
-
EasyTriggers
public EasyTriggers(org.picocontainer.PicoContainer pico, PersistenceProvider pers, XivState state, EventMaster master)
-
-
Method Details
-
exportToString
-
importFromString
-
commit
public void commit() -
initAll
-
initSpecificTrigger
-
runEasyTriggers
-
getTriggers
-
addTrigger
-
removeTrigger
-
getEventDescriptions
-
getEventDescription
-
getConditions
-
getConditionsApplicableTo
public <X> List<ConditionDescription<?,?>> getConditionsApplicableTo(HasMutableConditions<X> trigger) -
getActions
-
getActionsApplicableTo
-
registerEventType
-
registerActionType
-
registerConditionType
-
getConditionDescription
-
getActionDescription
-
makeTriggerFromEvent
@Nullable public @Nullable EasyTrigger<?> makeTriggerFromEvent(Event event, EasyTriggerCreationQuestions questions)
-