Class GetURLStep

    • Constructor Detail

      • GetURLStep

        public GetURLStep()
    • Method Detail

      • canUndo

        protected boolean canUndo​(CronJob cronJob)
        Description copied from class: Step
        Returns true, if this Step is undoable for the specified CronJob. Otherwise false is returned.

        If one step of a CronJob returns false the whole CronJob will stop the undo process. The default implementation returns false. If your subclass of Step supports the undo-feature, override this method and return true.

        Overrides:
        canUndo in class Step
        Parameters:
        cronJob - the CronJob which is used for execution
        Returns:
        true, if this Step is undoable for the specified CronJob
        See Also:
        Step.undoStep(CronJob)
      • performStep

        protected void performStep​(CronJob cronJob)
                            throws AbortCronJobException
        Description copied from class: Step
        Executes this Step using the specified CronJob.

        Implement this method in your Step subclass and add the logic here.

        Specified by:
        performStep in class Step
        Parameters:
        cronJob - the CronJob which is used for execution
        Throws:
        AbortCronJobException - if the execution is aborted due to an error
        See Also:
        Step.canPerform(CronJob)
      • undoStep

        protected void undoStep​(CronJob cronJob)
        Description copied from class: Step
        Starts the undo processing for this Step and the specified CronJob.
        Add your undo logic here to support the undo feature.
        Specified by:
        undoStep in class Step
        Parameters:
        cronJob - the CronJob which is used for execution
        See Also:
        Step.canUndo(CronJob)
      • isAbortable

        public boolean isAbortable()
        Description copied from class: Step
        Returns true, if this Step is abortable.

        The default implementation returns always false. To mark your Step subclass as abortable, override this method and return true.

        Overrides:
        isAbortable in class Step
        Returns:
        true, if this Step is abortable
        See Also:
        Step.isAbortable()