Modifier and Type | Class and Description |
---|---|
static class |
Trigger.TriggerConfig
The possible trigger configuration values.
|
Modifier and Type | Method and Description |
---|---|
Trigger.TriggerConfig |
getConfig()
Request configuration of the trigger.
|
java.lang.String |
getName()
Returns name of the component.
|
boolean |
isEnabled()
Get current trigger state.
|
void |
setConfig(Trigger.TriggerConfig triggerConfig)
Define behavior of the trigger.
|
void |
setEnabled(boolean enable)
Enable or disable trigger.
|
java.lang.String |
toString() |
public void setEnabled(boolean enable) throws java.io.IOException
enable
- State to set.java.io.IOException
public boolean isEnabled() throws java.io.IOException
java.io.IOException
public void setConfig(Trigger.TriggerConfig triggerConfig) throws java.io.IOException
triggerConfig
- Use one of the values from Trigger.TriggerConfig.java.io.IOException
public Trigger.TriggerConfig getConfig() throws java.io.IOException
java.io.IOException
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object