public class YTimerParameters
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
YTimerParameters.TimerType |
Constructor and Description |
---|
YTimerParameters() |
YTimerParameters(java.lang.String netParamName) |
YTimerParameters(YWorkItemTimer.Trigger trigger,
java.util.Date expiryTime) |
YTimerParameters(YWorkItemTimer.Trigger trigger,
javax.xml.datatype.Duration duration) |
YTimerParameters(YWorkItemTimer.Trigger trigger,
long ticks,
YTimer.TimeUnit timeUnit) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getDate() |
javax.xml.datatype.Duration |
getDuration() |
long |
getTicks() |
YTimerParameters.TimerType |
getTimerType() |
YTimer.TimeUnit |
getTimeUnit() |
YWorkItemTimer.Trigger |
getTrigger() |
java.lang.String |
getVariableName() |
javax.xml.datatype.Duration |
getWorkDayDuration() |
boolean |
isWorkDaysOnly() |
boolean |
parseYTimerType(Element eTimerTypeValue) |
void |
set(java.lang.String netParamName)
sets
|
void |
set(YWorkItemTimer.Trigger trigger,
java.util.Date expiryTime) |
void |
set(YWorkItemTimer.Trigger trigger,
javax.xml.datatype.Duration duration) |
void |
set(YWorkItemTimer.Trigger trigger,
long ticks,
YTimer.TimeUnit timeUnit) |
void |
setDate(java.util.Date date) |
void |
setDuration(javax.xml.datatype.Duration duration) |
void |
setTicks(long ticks) |
void |
setTimeUnit(YTimer.TimeUnit timeUnit) |
void |
setTrigger(YWorkItemTimer.Trigger trigger) |
void |
setVariableName(java.lang.String varName) |
void |
setWorkDaysOnly(boolean workDaysOnly) |
java.lang.String |
toString() |
java.lang.String |
toXML() |
boolean |
triggerMatchesStatus(YWorkItemStatus status) |
public YTimerParameters()
public YTimerParameters(java.lang.String netParamName)
public YTimerParameters(YWorkItemTimer.Trigger trigger, java.util.Date expiryTime)
public YTimerParameters(YWorkItemTimer.Trigger trigger, javax.xml.datatype.Duration duration)
public YTimerParameters(YWorkItemTimer.Trigger trigger, long ticks, YTimer.TimeUnit timeUnit)
public void set(java.lang.String netParamName)
netParamName
- public void set(YWorkItemTimer.Trigger trigger, java.util.Date expiryTime)
public void set(YWorkItemTimer.Trigger trigger, javax.xml.datatype.Duration duration)
public void set(YWorkItemTimer.Trigger trigger, long ticks, YTimer.TimeUnit timeUnit)
public boolean triggerMatchesStatus(YWorkItemStatus status)
public java.lang.String getVariableName()
public void setVariableName(java.lang.String varName)
public java.util.Date getDate()
public void setDate(java.util.Date date)
public javax.xml.datatype.Duration getWorkDayDuration()
public javax.xml.datatype.Duration getDuration()
public void setDuration(javax.xml.datatype.Duration duration)
public long getTicks()
public void setTicks(long ticks)
public YTimer.TimeUnit getTimeUnit()
public void setTimeUnit(YTimer.TimeUnit timeUnit)
public YWorkItemTimer.Trigger getTrigger()
public void setTrigger(YWorkItemTimer.Trigger trigger)
public boolean isWorkDaysOnly()
public void setWorkDaysOnly(boolean workDaysOnly)
public YTimerParameters.TimerType getTimerType()
public boolean parseYTimerType(Element eTimerTypeValue) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public java.lang.String toXML()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2004-2014 The YAWL Foundation.