Package gg.xp.xivsupport.groovy
Class GroovyTriggers.GroovySqHelper<X extends BaseEvent>
java.lang.Object
groovy.lang.GroovyObjectSupport
gg.xp.xivsupport.groovy.GroovyTriggers.GroovySqHelper<X>
- Type Parameters:
X
- The event type for the sequential trigger (usually BaseEvent)
- All Implemented Interfaces:
groovy.lang.GroovyObject
- Enclosing class:
- GroovyTriggers
public class GroovyTriggers.GroovySqHelper<X extends BaseEvent>
extends groovy.lang.GroovyObjectSupport
Provides some wrapper methods over
SequentialTriggerController
to make things more convenient in
Groovy-land.-
Constructor Summary
ConstructorDescriptionGroovySqHelper
(SequentialTriggerController<X> controller, groovy.lang.Closure<?> sqClosure) -
Method Summary
Modifier and TypeMethodDescriptioncallout
(groovy.lang.Closure<?> closure) getProperty
(String propertyName) invokeMethod
(String name, Object args) void
setProperty
(String propertyName, Object newValue) void
waitMs
(int ms) Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
-
Constructor Details
-
GroovySqHelper
-
-
Method Details
-
callout
public CalloutEvent callout(@DelegatesTo(GroovyCalloutBuilder.class) groovy.lang.Closure<?> closure) -
callout
-
waitMs
public void waitMs(int ms) -
invokeMethod
-
getProperty
-
setProperty
-