|
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.DefaultUserCondition
public abstract class DefaultUserCondition
| Field Summary | |
|---|---|
protected RepletRequest |
request
|
| Constructor Summary | |
|---|---|
DefaultUserCondition()
Constructor. |
|
| 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 '[]'. |
abstract boolean |
check(long curr)
Check the condition. |
boolean |
equals(Object val)
Check if the two user condition is same condition. |
abstract String |
getLabel()
Get the condition label. |
RepletRequest |
getRepletRequest()
Get the action request object. |
abstract long |
getRetryTime(long curr)
Get the next time to retry the condition. |
int |
hashCode()
return the condition's hashCode. |
void |
parseAttributes(Element element)
Parses the custom XML attributes for this action. |
void |
parseContent(Element element)
Parses the custom XML body content for this action. |
void |
parseXML(Element tag)
Write the xml segment to print writer. |
void |
setRepletRequest(RepletRequest request)
Set the request to use for this action. |
String |
toString()
To String. |
void |
writeAttributes(PrintWriter writer)
Writes the custom XML attributes for this action. |
void |
writeContent(PrintWriter writer)
Writes the custom XML body content for this action. |
void |
writeXML(PrintWriter writer)
Method to parse an xml segment. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected RepletRequest request
| Constructor Detail |
|---|
public DefaultUserCondition()
| Method Detail |
|---|
public abstract String getLabel()
getLabel in interface UserConditionpublic RepletRequest getRepletRequest()
getRepletRequest in interface UserConditionpublic void setRepletRequest(RepletRequest request)
setRepletRequest in interface UserConditionrequest - ation request.public abstract boolean check(long curr)
check in interface ScheduleConditioncurr - current time.
public abstract long getRetryTime(long curr)
getRetryTime in interface ScheduleConditioncurr - current time.
public void writeContent(PrintWriter writer)
writer - the stream to which the XML is written.public void writeAttributes(PrintWriter writer)
writer - the stream to which the XML is written.
public void parseAttributes(Element element)
throws Exception
element - the XML representation of this action.
Exception - if an error occurs while parsing.
public void parseContent(Element element)
throws Exception
element - the XML representation of this action.
Exception - if an error occurs during parsing.
public void parseXML(Element tag)
throws Exception
parseXML in interface inetsoft.util.XMLSerializabletag - the XML representation of this action.
Exceptionpublic void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablepublic String byteDecode(String encString)
encString - a string encoded using the byteEncode method.
public String byteEncode(String source)
source - source string.
public boolean equals(Object val)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
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 | ||||||||