public class BackupJobList extends ListPackManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
BackupJob |
copy(java.lang.String newName,
BackupJob copySource)
Duplicates the given backup job and stores the result under the specified name.
|
BackupJob |
create(java.lang.String name)
Creates a new backup job using the given name.
|
void |
delete(BackupJob setToDelete)
Deletes the given backup job.
|
BackupJob |
getBackupJob(java.lang.String name)
Returns the backup job for the given name.
|
java.util.List<java.lang.String> |
getBackupJobNames()
Return a list of backup job names of this instance.
|
BackupJob |
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 BackupJob 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 BackupJob importSet(JPack data, SetImportDuplicatesMode duplicatesMode) throws CumulusException, PermissionDeniedException
CumulusException
PermissionDeniedException
BackupJob.exportSet()
public BackupJob copy(java.lang.String newName, BackupJob 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(BackupJob setToDelete) throws CumulusException
setToDelete
- the job to deleteCumulusException
- in case of an errorpublic java.util.List<java.lang.String> getBackupJobNames()
String
public BackupJob getBackupJob(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.