adams.core.base
Class CronSchedule

java.lang.Object
  extended by adams.core.base.BaseObject
      extended by adams.core.base.AbstractBaseString
          extended by adams.core.base.CronSchedule
All Implemented Interfaces:
CloneHandler<BaseObject>, Serializable, Comparable

public class CronSchedule
extends AbstractBaseString

Encapsulates a cron schedule.

Version:
$Revision: 5730 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
CronExpression, Serialized Form

Field Summary
static String DEFAULT
          the default schedule.
 
Fields inherited from class adams.core.base.BaseObject
m_Internal
 
Constructor Summary
CronSchedule()
          Initializes with the default schedule.
CronSchedule(String s)
          Initializes the object with the specified schedule.
 
Method Summary
 String getTipText()
          Returns a tool tip for the GUI editor (ignored if null is returned).
 boolean isValid(String value)
          Checks whether the string value is a valid presentation for this class.
 
Methods inherited from class adams.core.base.AbstractBaseString
convert, getValue, isEmpty, setValue, stringValue
 
Methods inherited from class adams.core.base.BaseObject
compareTo, equals, getClone, getInternal, hashCode, newInstance, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT

public static final String DEFAULT
the default schedule.

See Also:
Constant Field Values
Constructor Detail

CronSchedule

public CronSchedule()
Initializes with the default schedule.

See Also:
DEFAULT

CronSchedule

public CronSchedule(String s)
Initializes the object with the specified schedule.

Parameters:
s - the schedule
Method Detail

isValid

public boolean isValid(String value)
Checks whether the string value is a valid presentation for this class.

Overrides:
isValid in class AbstractBaseString
Parameters:
value - the string value to check
Returns:
always true

getTipText

public String getTipText()
Returns a tool tip for the GUI editor (ignored if null is returned).

Specified by:
getTipText in class AbstractBaseString
Returns:
the tool tip


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.