|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.sree.schedule.CompletionCondition
public class CompletionCondition
Schedule condition to check if a specified task has completed.
| Constructor Summary | |
|---|---|
CompletionCondition()
Create an empty CompletionCondition. |
|
CompletionCondition(String taskname)
Create a CompletionCondition for specified task. |
|
| Method Summary | |
|---|---|
String |
byteDecode(String encString)
Convert the encoded string to the original unencoded string. |
String |
byteEncode(String source)
Encode non-ascii characters to unicode enclosed in '[]'. |
boolean |
check(long time)
Check the condition immediately before execution |
boolean |
equals(Object val)
|
long |
getRetryTime(long time)
Get the next time to retry the condition. |
String |
getTaskName()
|
boolean |
isEncoding()
Check if this object should encoded when writing. |
void |
parseXML(Element tag)
Parse itself from an xml file. |
void |
setComplete(boolean complete)
set the complete status. |
void |
setEncoding(boolean encoding)
Set encoding flag. |
String |
toString()
|
void |
writeXML(PrintWriter writer)
Write itself to an xml file. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CompletionCondition()
public CompletionCondition(String taskname)
taskname - the name of the task to check.| Method Detail |
|---|
public boolean check(long time)
check in interface ScheduleConditiontime - current time.
public void setComplete(boolean complete)
complete - current time.public long getRetryTime(long time)
getRetryTime in interface ScheduleConditiontime - current time.
public String getTaskName()
public String toString()
toString in class Objectpublic void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializable
public void parseXML(Element tag)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableExceptionpublic boolean equals(Object val)
equals in class Objectpublic String byteEncode(String source)
byteEncode in interface inetsoft.sree.internal.HttpXMLSerializablesource - source string.
public String byteDecode(String encString)
byteDecode in interface inetsoft.sree.internal.HttpXMLSerializableencString - a string encoded using the byteEncode method.
public boolean isEncoding()
isEncoding in interface inetsoft.sree.internal.HttpXMLSerializabletrue if should encoded, false otherwise.public void setEncoding(boolean encoding)
setEncoding in interface inetsoft.sree.internal.HttpXMLSerializableencoding - true to encode.
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||