lumis.portal.clock
Class ClockConfig

Package class diagram package ClockConfig
java.lang.Object
  extended by lumis.portal.clock.ClockConfig

@StableMinor(version="4.1",
             sinceVersion="4.0")
public class ClockConfig
extends Object

Since:
4.0.0

Field Summary
static String INTERVAL_DEFINITION_TYPE_DAYS
           
static String INTERVAL_DEFINITION_TYPE_HOURS
           
static String INTERVAL_DEFINITION_TYPE_MINUTES
           
static 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
 String getClockClass()
           
 String getId()
           
 Date getLastTick()
           
 int getMaxRunTime()
           
 Date getNextScheduleDate()
           
 String getRunOnlyOnServer()
           
 String getServiceId()
           
 Date getStartTime()
           
 Date getStopTime()
           
 int getTickInterval()
           
 int getTickIntervalType()
           
 boolean isEnabled()
           
 boolean isRunning()
           
 void setClockClass(String clockClass)
           
 void setDefinition(Node definition)
           
 void setEnabled(boolean enabled)
           
 void setId(String id)
           
 void setLastTick(Date lastTick)
           
 void setMaxRunTime(int maxRunTime)
           
 void setNextScheduleDate(Date nextScheduleDate)
           
 void setRunning(boolean running)
           
 void setRunOnlyOnServer(String runOnlyOnServer)
           
 void setServiceId(String serviceId)
           
 void setStartTime(Date startTime)
           
 void setStopTime(Date stopTime)
           
 void setTickInterval(int tickInterval)
           
 void setTickIntervalType(int tickIntervalType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ClockConfig

public ClockConfig()
Method Detail

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.