public class SchedulerJobList extends ListPackManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
SchedulerJob |
copy(java.lang.String newName,
SchedulerJob copySource)
Duplicates the given scheduler job and stores the result under the specified name.
|
SchedulerJob |
create(java.lang.String name)
Creates a new scheduler job using the given name.
|
void |
delete(SchedulerJob setToDelete)
Deletes the given scheduler job.
|
SchedulerJob |
getSchedulerJob(java.lang.String name)
Returns the scheduler job for the given name.
|
java.util.List<java.lang.String> |
getSchedulerJobNames()
Return a list of scheduler job names of this instance.
|
SchedulerJob |
importSet(JPack data,
SetImportDuplicatesMode duplicatesMode)
Imports the given exported set data into a new set.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public SchedulerJob create(java.lang.String name) throws CumulusException, javax.naming.InvalidNameException
name
- the name of the new jobCumulusException
- in case of an errorjavax.naming.InvalidNameException
- in case of an invalid or already used namepublic SchedulerJob importSet(JPack data, SetImportDuplicatesMode duplicatesMode) throws CumulusException, PermissionDeniedException
CumulusException
PermissionDeniedException
SchedulerJob.exportSet()
public SchedulerJob copy(java.lang.String newName, SchedulerJob copySource) throws CumulusException, javax.naming.InvalidNameException
newName
- the name of the new jobcopySource
- the source job to copyCumulusException
- in case of an errorjavax.naming.InvalidNameException
- in case of an invalid or already used namepublic void delete(SchedulerJob setToDelete) throws CumulusException
setToDelete
- the job to deleteCumulusException
- in case of an errorpublic java.util.List<java.lang.String> getSchedulerJobNames()
String
public SchedulerJob getSchedulerJob(java.lang.String name)
name
- the name of the job to returnwww.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.