Home      DB      Replicator      CRM      Solutions  
 
Daffodil Replicator
 
Explore Replicator (OS)
 

Product Overview
Download Daffodil Replicator (E)
Getting Started Guide
User Guide
Features
How it Works?
Usage Scenarios
Usage Examples
Recommended JDBC Drivers
Replicator Class Reference
Sample Java Code
Error Messages
Daffodil Replicator (E) FAQ
Daffodil Replicator (E) BLOG
User Forum
Buy

 
<< back
Class Schedule


java.lang.Object
  
com.daffodilwoods.replicator.server.schedule.Schedule




public class Schedule
extends java.lang.Object


Description: A user can define the schedule for execution a job as per after a interval. Means this class schedule the execution of job.It can be as per instruction given by user.

Copyright: Copyright 2006

Company:



Field Summary



protected static logger
log


Constructor Summary



Schedule ()


Method Summary



java.lang.Long
getEndTime ()
Get End time of schedule
int
getOccurrenceInterval ()
Get occurence of schedule interval
int
getOccurrenceType ()
Get Schedule occurrence type.It can be hourly,daily,weekly,monthly and yearly.
java.lang.String
getScheduleName ()
Get schedule Name
java.lang.Long
getStartTime ()
Get start time of schedule
boolean
isDue ()
Return true if schedule is due else false.
void
setDue (boolean due)
Set the property of schedule it is due or not.
void
setEndTime (java.lang.Long endTime)
Set end time of the schedule.
void
setOccurrenceInterval (int occurrenceInterval)
Set occurence of the interval
void
setOccurrenceType (int occurrenceType)
Set occurence type of schedule.
void
setScheduleName (java.lang.String newScheduleName)
Set schedule name
void
setStartTime (java.lang.Long newStartTime)
Set start time of schedule


Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait



Field Detail


Log



protected static final Logger log



Constructor Detail


Schedule



public Schedule()



Method Detail


getScheduleName



public java.lang.String getScheduleName()

Get schedule Name

Returns:
String



setScheduleName



public void setScheduleName (java.lang.String newScheduleName)

Set schedule name

Parameters:
newScheduleName - String



getStartTime



public java.lang.Long getStartTime()

Get start time of schedule

Returns:
Long



setStartTime



public void setStartTime (java.lang.Long newStartTime)

Set start time of schedule

Parameters:
newStartTime - Long



getEndTime



public java.lang.Long getEndTime()

Get End time of schedule

Returns:
Long



getOccurrenceInterval



public int getOccurrenceInterval()

Get occurence of schedule interval

Returns:
int



getOccurrenceType



public int getOccurrenceType()

Get Schedule occurrence type.It can be hourly,daily,weekly,monthly and yearly.

Returns:
int



setEndTime



public void setEndTime(java.lang.Long endTime)

Set end time of the schedule.

Parameters:
endTime - Long



setOccurrenceInterval



public void setOccurrenceInterval(int occurrenceInterval)

Set occurence of the interval

Parameters:
occurrenceInterval - int



setOccurrenceType



public void setOccurrenceType(int occurrenceType)

Set occurence type of schedule. It will occure Yearly,Monthly, Weekly, Hourly,and Minutes

Parameters:
occurrenceType - int



isDue



public boolean isDue()

Return true if schedule is due else false.



setDue



public void setDue(boolean due)

Set the property of schedule it is due or not.

Parameters:
due -



 
  ©2008 Daffodil Software Ltd. Contact Us | Disclaimer | Sitemap