|
Oracle Containers for J2EE Job Scheduler Java API Reference 10g Release 3 (10.1.3) B16026-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ias.scheduler.Trigger
This class is used to specify the conditions by which the associated job is executed. A condition is expressed as a logical combination of operands where the operands are comprised of one or more notification names.
Field Summary | |
protected java.lang.String |
m_condition
|
Constructor Summary | |
Trigger()
Constructs an empty trigger. |
|
Trigger(java.lang.String condition)
Constructs a trigger with the condition expression specified. |
Method Summary | |
boolean |
equals(java.lang.Object v)
Indicates whether some object is "equal to" this one. |
java.lang.String |
getCondition()
Gets the condition expression for this trigger. |
static int |
getVersion()
Internal use only. |
int |
hashCode()
Returns a hash code value for the schedule. |
void |
readExternal(java.io.ObjectInput in)
Restores the contents of this object from the stream specified. |
void |
setCondition(java.lang.String condition)
Sets the condition expression for this trigger. |
java.lang.String |
toString()
Gets the string representation of this trigger. |
void |
writeExternal(java.io.ObjectOutput out)
Saves the contents of this object to the stream specified. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String m_condition
Constructor Detail |
public Trigger()
public Trigger(java.lang.String condition) throws InvalidArgumentException
InvalidArgumentException
- if the expression specified
is invalid.Notification
Method Detail |
public void setCondition(java.lang.String condition) throws InvalidArgumentException
condition
- the condition expression for the trigger.
InvalidArgumentException
- if the expression specified
is invalid.Notification
public java.lang.String getCondition()
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object v)
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public static int getVersion()
|
Oracle Containers for J2EE Job Scheduler Java API Reference 10g Release 3 (10.1.3) B16026-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |