org.backsource.qcron
Interface CronManager


public interface CronManager

Crond like interface for sceduling on top of Quartz.

Version:
$Revision: 1.1.1.1 $
Author:
Peter Antman

Method Summary
 void addCronEntry(CronEntry jobb)
          Ad cronEntry to the sceduler.
 CronEntry getCronEntry(java.lang.String group, java.lang.String name)
          Get cronEntry by name from the sceduler, null is returned if not found.
 java.util.List getCronEntryNames(java.lang.String group)
          Get all current cronEntries in the scheduler that belongs to group.
 void removeCronEntry(java.lang.String group, java.lang.String name)
          Remove the cronEntry from the scheduler.
 

Method Detail

addCronEntry

public void addCronEntry(CronEntry jobb)
                  throws CronException
Ad cronEntry to the sceduler.

Throws:
CronException

getCronEntryNames

public java.util.List getCronEntryNames(java.lang.String group)
                                 throws CronException
Get all current cronEntries in the scheduler that belongs to group.

Throws:
CronException
See Also:
CronEntry.getEntryGroup()

getCronEntry

public CronEntry getCronEntry(java.lang.String group,
                              java.lang.String name)
                       throws CronException
Get cronEntry by name from the sceduler, null is returned if not found.

Throws:
CronException

removeCronEntry

public void removeCronEntry(java.lang.String group,
                            java.lang.String name)
                     throws CronException
Remove the cronEntry from the scheduler.

Throws:
CronException


Copyright © 2003-2004 Backsource. All Rights Reserved.