com.ace.moab.api.triggers
Class TriggerFlags
java.lang.Object
com.ace.moab.api.triggers.TriggerFlags
public class TriggerFlags
- extends java.lang.Object
This class represents the various flags that can be used to modify a
trigger's behavior. Most flags are boolean flags, but
globalvars and user potentially take
special modifiers as well.
Nested Class Summary |
class |
TriggerFlags.UserFlag
The trigger variables that specifies what user to run a trigger as. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TriggerFlags
public TriggerFlags()
getGlobalVars
public com.ace.moab.api.triggers.TriggerFlags.GlobalVarsFlag getGlobalVars()
getUser
public TriggerFlags.UserFlag getUser()
isAttachError
public boolean isAttachError()
isCleanup
public boolean isCleanup()
isInterval
public boolean isInterval()
isMultifire
public boolean isMultifire()
isProbe
public boolean isProbe()
isProbeAll
public boolean isProbeAll()
isGlobal
public boolean isGlobal()
setAttachError
public void setAttachError(boolean isAttachError)
setCleanup
public void setCleanup(boolean isCleanup)
setGlobalVars
public void setGlobalVars(com.ace.moab.api.triggers.TriggerFlags.GlobalVarsFlag globalVars)
setInterval
public void setInterval(boolean isInterval)
setMultifire
public void setMultifire(boolean isMultifire)
setProbe
public void setProbe(boolean isProbe)
setProbeAll
public void setProbeAll(boolean isProbeAll)
setUser
public void setUser(TriggerFlags.UserFlag user)
setGlobal
public void setGlobal(boolean isGlobal)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
parseString
public static TriggerFlags parseString(java.lang.String string)
- Parses a string and converts it into a TriggerFlags object. If the String
is unrecognizable, a TriggerFlags object with default values is returned.
- Parameters:
string
- the string to be parsed.
- Returns:
- the corresponding TriggerFlags object.
Copyright © 2001-2009 Cluster Resources, Inc. All Rights Reserved.