Class ScheduledTimerDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.DescribableDescriptor
-
- org.glassfish.ejb.deployment.descriptor.ScheduledTimerDescriptor
-
- All Implemented Interfaces:
Serializable
public class ScheduledTimerDescriptor extends DescribableDescriptor
This class holds the metadata for a calendar-based timer.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description ScheduledTimerDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDayOfMonth()
String
getDayOfWeek()
Date
getEnd()
String
getHour()
String
getInfo()
String
getMinute()
String
getMonth()
boolean
getPersistent()
String
getSecond()
Date
getStart()
MethodDescriptor
getTimeoutMethod()
String
getTimezone()
String
getYear()
void
setDayOfMonth(String d)
void
setDayOfWeek(String d)
void
setEnd(Date e)
void
setHour(String h)
void
setInfo(String i)
void
setMinute(String m)
void
setMonth(String m)
void
setPersistent(boolean flag)
void
setSecond(String s)
void
setStart(Date s)
void
setTimeoutMethod(MethodDescriptor m)
void
setTimezone(String timezoneID)
void
setYear(String y)
String
toString()
-
Methods inherited from class com.sun.enterprise.deployment.DescribableDescriptor
getDescription, setDescription
-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Method Detail
-
setSecond
public void setSecond(String s)
-
getSecond
public String getSecond()
-
setMinute
public void setMinute(String m)
-
getMinute
public String getMinute()
-
setHour
public void setHour(String h)
-
getHour
public String getHour()
-
setDayOfMonth
public void setDayOfMonth(String d)
-
getDayOfMonth
public String getDayOfMonth()
-
setMonth
public void setMonth(String m)
-
getMonth
public String getMonth()
-
setDayOfWeek
public void setDayOfWeek(String d)
-
getDayOfWeek
public String getDayOfWeek()
-
setYear
public void setYear(String y)
-
getYear
public String getYear()
-
setTimezone
public void setTimezone(String timezoneID)
-
getTimezone
public String getTimezone()
-
setStart
public void setStart(Date s)
-
getStart
public Date getStart()
-
setEnd
public void setEnd(Date e)
-
getEnd
public Date getEnd()
-
setPersistent
public void setPersistent(boolean flag)
-
getPersistent
public boolean getPersistent()
-
setInfo
public void setInfo(String i)
-
getInfo
public String getInfo()
-
setTimeoutMethod
public void setTimeoutMethod(MethodDescriptor m)
-
getTimeoutMethod
public MethodDescriptor getTimeoutMethod()
-
toString
public String toString()
- Overrides:
toString
in classDynamicAttributesDescriptor
- Returns:
- a meaningfull string about ourself No Descriptor class which inherits this class should override this method. Rather print() method which is defined in this class should be overridden to describe itself. Refer to the comments on print() method for more details. This method is optimized for persformance reasons.
-
-