Class MoveMediaJob

All Implemented Interfaces:
Serializable, Comparable

@Deprecated(since="ages", forRemoval=false) public class MoveMediaJob extends GeneratedMoveMediaJob
Deprecated.
since ages - use MoveMediaJobPerformable instead.
See Also:
  • Constructor Details

    • MoveMediaJob

      public MoveMediaJob()
      Deprecated.
  • Method Details

    • isPerformable

      public boolean isPerformable(CronJob cronJob)
      Deprecated.
      Description copied from class: Job
      Tests whether the given CronJob instance can be performed. Internal the methods canPerform( final CronJob cronJob ) and canPerformInternal( final CronJob cronJob ) are called. Only if both methods returning true, this method also return true Returns true, if this Job can be performed using the specified Cronjob. Otherwise false is returned.
      Overrides:
      isPerformable in class Job
      Parameters:
      cronJob - which should be performed
      Returns:
      true, if this Job can be performed using the specified Cronjob. Otherwise false is returned
    • performCronJob

      protected CronJob.CronJobResult performCronJob(CronJob cronJob) throws AbortCronJobException
      Deprecated.
      Description copied from class: Job
      You have to implement this method in your Job. Here you can execute the job. You have to return a CronJobResult that indicates whether the Job was successfully executed or not.
      Specified by:
      performCronJob in class Job
      Parameters:
      cronJob - the CronJob to execute
      Returns:
      a CronJobResult that indicates whether the Job was successfully executed or not.

      Throws:
      AbortCronJobException
      See Also:
    • isAbortable

      public boolean isAbortable(CronJob conJob)
      Deprecated.
      Description copied from class: Job
      Tells whether this currently executed job is abortable. As default this method returns false. Override to implement abortable jobs.
      Overrides:
      isAbortable in class Job
      Parameters:
      conJob - the current execution of this job.
      Returns:
      true if the cronjob is running and the job supports aborting via GeneratedCronJob.setRequestAbort(boolean)