|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cesys.cebo.cebomsr.Trigger
public final class Trigger
Offers functionality for triggers. Instances can be retrieved calling getTriggers()
of the respective Device
instance.
Nested Class Summary | |
---|---|
static class |
Trigger.TriggerConfig
The possible trigger configuration values. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |