lumis.portal.clock
Class ClockConfig
java.lang.Object
lumis.portal.clock.ClockConfig
@StableMinor(version="4.1",
sinceVersion="4.0")
public class ClockConfig
- extends Object
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INTERVAL_TYPE_SECONDS
public static final int INTERVAL_TYPE_SECONDS
- See Also:
- Constant Field Values
INTERVAL_TYPE_MINUTES
public static final int INTERVAL_TYPE_MINUTES
- See Also:
- Constant Field Values
INTERVAL_TYPE_HOURS
public static final int INTERVAL_TYPE_HOURS
- See Also:
- Constant Field Values
INTERVAL_TYPE_DAYS
public static final int INTERVAL_TYPE_DAYS
- See Also:
- Constant Field Values
INTERVAL_DEFINITION_TYPE_SECONDS
public static final String INTERVAL_DEFINITION_TYPE_SECONDS
- See Also:
- Constant Field Values
INTERVAL_DEFINITION_TYPE_MINUTES
public static final String INTERVAL_DEFINITION_TYPE_MINUTES
- See Also:
- Constant Field Values
INTERVAL_DEFINITION_TYPE_HOURS
public static final String INTERVAL_DEFINITION_TYPE_HOURS
- See Also:
- Constant Field Values
INTERVAL_DEFINITION_TYPE_DAYS
public static final String INTERVAL_DEFINITION_TYPE_DAYS
- See Also:
- Constant Field Values
ClockConfig
public ClockConfig()
setDefinition
public void setDefinition(Node definition)
throws Exception
- Throws:
Exception
getClockClass
public String getClockClass()
- Returns:
- Returns the clockClass.
setClockClass
public void setClockClass(String clockClass)
- Parameters:
clockClass
- The clockClass to set.
isEnabled
public boolean isEnabled()
- Returns:
- Returns the enabled.
setEnabled
public void setEnabled(boolean enabled)
- Parameters:
enabled
- The enabled to set.
getId
public String getId()
- Returns:
- Returns the id.
setId
public void setId(String id)
- Parameters:
id
- The id to set.
getLastTick
public Date getLastTick()
- Returns:
- Returns the lastTick.
setLastTick
public void setLastTick(Date lastTick)
- Parameters:
lastTick
- The lastTick to set.
getNextScheduleDate
public Date getNextScheduleDate()
- Returns:
- Returns the nextScheduleDate.
setNextScheduleDate
public void setNextScheduleDate(Date nextScheduleDate)
- Parameters:
nextScheduleDate
- The nextScheduleDate to set.
getRunOnlyOnServer
public String getRunOnlyOnServer()
- Returns:
- Returns the runOnlyOnServer.
setRunOnlyOnServer
public void setRunOnlyOnServer(String runOnlyOnServer)
- Parameters:
runOnlyOnServer
- The runOnlyOnServer to set.
getServiceId
public String getServiceId()
- Returns:
- Returns the serviceId.
setServiceId
public void setServiceId(String serviceId)
- Parameters:
serviceId
- The serviceId to set.
getStartTime
public Date getStartTime()
- Returns:
- Returns the startTime.
setStartTime
public void setStartTime(Date startTime)
- Parameters:
startTime
- The startTime to set.
getStopTime
public Date getStopTime()
- Returns:
- Returns the stopTime.
setStopTime
public void setStopTime(Date stopTime)
- Parameters:
stopTime
- The stopTime to set.
getTickInterval
public int getTickInterval()
- Returns:
- Returns the tickInterval.
setTickInterval
public void setTickInterval(int tickInterval)
- Parameters:
tickInterval
- The tickInterval to set.
getTickIntervalType
public int getTickIntervalType()
- Returns:
- Returns the tickIntervalType.
setTickIntervalType
public void setTickIntervalType(int tickIntervalType)
- Parameters:
tickIntervalType
- The tickIntervalType to set.
getMaxRunTime
public int getMaxRunTime()
- Returns:
- Returns the maxRunTime.
setRunning
public void setRunning(boolean running)
- Parameters:
running
- The running to set.
setMaxRunTime
public void setMaxRunTime(int maxRunTime)
- Parameters:
maxRunTime
- The maxRunTime to set.
isRunning
public boolean isRunning()
- Returns:
- Returns the running.
Lumisportal 4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.