Interface BackupJob

    • Method Detail

      • getType

        int getType()
        Getting the type of job.
        Returns:
        int return the type of job
      • getState

        int getState()
        Getting state of job.
        Returns:
        int return the state of job
      • getId

        int getId()
        Getting the id of job.
        Returns:
        int return id
      • stop

        void stop()
        Call stop of job.
      • init

        void init​(org.exoplatform.services.jcr.core.ManageableRepository repository,
                  String workspaceName,
                  BackupConfig config,
                  Calendar timeStamp)
        Initialize.
        Parameters:
        repository - ManageableRepository, the manageable repository
        workspaceName - String, the workspace name
        config - BackupConfig, the backup config
        timeStamp - Calendar, the time stamp
      • addListener

        void addListener​(BackupJobListener listener)
        Adding listener.
        Parameters:
        listener - BackupJobListener, the job listener
      • removeListener

        void removeListener​(BackupJobListener listener)
        Remove listener.
        Parameters:
        listener - BackupJobListener, the job listener