|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.clock.ClockConfig
@StableMinor(version="6.1", sinceVersion="4.0") public class ClockConfig
A portal clock, which represents an execution that is scheduled to be executed in regular intervals.
Field Summary | |
---|---|
static java.lang.String |
INTERVAL_DEFINITION_TYPE_DAYS
|
static java.lang.String |
INTERVAL_DEFINITION_TYPE_HOURS
|
static java.lang.String |
INTERVAL_DEFINITION_TYPE_MINUTES
|
static java.lang.String |
INTERVAL_DEFINITION_TYPE_SECONDS
|
static int |
INTERVAL_TYPE_DAYS
|
static int |
INTERVAL_TYPE_HOURS
|
static int |
INTERVAL_TYPE_MINUTES
|
static int |
INTERVAL_TYPE_SECONDS
|
Constructor Summary | |
---|---|
ClockConfig()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getClockClass()
Returns the full class name for this clock implementation. |
java.lang.String |
getId()
Returns the identifier for this clock. |
java.util.Date |
getLastTick()
Returns the date-time this clock has completed its last execution. |
java.util.Date |
getLastTickStart()
Returns the date-time this clock has started its last execution. |
int |
getMaxRunTime()
Returns the maximum run time for this clock in seconds. |
java.util.Date |
getNextScheduleDate()
Returns the date-time for which this clock is scheduled for its next execution. |
java.lang.String |
getRunOnlyOnServer()
|
java.lang.String |
getServiceId()
Returns the identifier of the service this clock belongs to. |
java.util.Date |
getStartTime()
|
java.util.Date |
getStopTime()
|
int |
getTickInterval()
|
int |
getTickIntervalType()
|
int |
hashCode()
|
boolean |
isEnabled()
Indicates if this clock is enabled. |
boolean |
isRunning()
Indicates if this clock is currently running. |
void |
setClockClass(java.lang.String clockClass)
Sets the class name for this clock implementation. |
void |
setDefinition(org.w3c.dom.Node definition)
|
void |
setEnabled(boolean enabled)
Enables or disables this clock. |
void |
setId(java.lang.String id)
Sets the identifier for this clock. |
void |
setLastTick(java.util.Date lastTick)
Sets the date-time this clock has completed its last execution. |
void |
setLastTickStart(java.util.Date lastTickStart)
Sets the date-time this clock has started its last execution. |
void |
setMaxRunTime(int maxRunTime)
Sets the maximum run time for a this clock in minutes. |
void |
setNextScheduleDate(java.util.Date nextScheduleDate)
Sets the date-time for which this clock is scheduled for its next execution. |
void |
setRunning(boolean running)
Sets if this clock is currently running. |
void |
setRunOnlyOnServer(java.lang.String runOnlyOnServer)
|
void |
setServiceId(java.lang.String serviceId)
Sets the service this clock belongs to. |
void |
setStartTime(java.util.Date startTime)
|
void |
setStopTime(java.util.Date stopTime)
|
void |
setTickInterval(int tickInterval)
|
void |
setTickIntervalType(int tickIntervalType)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int INTERVAL_TYPE_SECONDS
public static final int INTERVAL_TYPE_MINUTES
public static final int INTERVAL_TYPE_HOURS
public static final int INTERVAL_TYPE_DAYS
public static final java.lang.String INTERVAL_DEFINITION_TYPE_SECONDS
public static final java.lang.String INTERVAL_DEFINITION_TYPE_MINUTES
public static final java.lang.String INTERVAL_DEFINITION_TYPE_HOURS
public static final java.lang.String INTERVAL_DEFINITION_TYPE_DAYS
Constructor Detail |
---|
public ClockConfig()
Method Detail |
---|
public void setDefinition(org.w3c.dom.Node definition) throws java.lang.Exception
java.lang.Exception
public java.lang.String getClockClass()
public void setClockClass(java.lang.String clockClass)
clockClass
- the clock class name.public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- true to enable it, or false to disable it.public java.lang.String getId()
public void setId(java.lang.String id)
id
- the identifier to set.public java.util.Date getLastTick()
public void setLastTick(java.util.Date lastTick)
lastTick
- the date-time.public java.util.Date getNextScheduleDate()
public void setNextScheduleDate(java.util.Date nextScheduleDate)
the
- date-time.public java.lang.String getRunOnlyOnServer()
public void setRunOnlyOnServer(java.lang.String runOnlyOnServer)
runOnlyOnServer
- The runOnlyOnServer to set.public java.lang.String getServiceId()
public void setServiceId(java.lang.String serviceId)
serviceId
- the service's identifier.public java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
startTime
- The startTime to set.public java.util.Date getStopTime()
public void setStopTime(java.util.Date stopTime)
stopTime
- The stopTime to set.public int getTickInterval()
public void setTickInterval(int tickInterval)
tickInterval
- The tickInterval to set.public int getTickIntervalType()
public void setTickIntervalType(int tickIntervalType)
tickIntervalType
- The tickIntervalType to set.public int getMaxRunTime()
public void setMaxRunTime(int maxRunTime)
maxRunTime
- the value in minutes.public boolean isRunning()
public void setRunning(boolean running)
true
- if it is running, false otherwise.public java.util.Date getLastTickStart()
public void setLastTickStart(java.util.Date lastTickStart)
lastTickStart
- the date-time value.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |