org.sejda.impl.itext
Class AlternateMixTask

java.lang.Object
  extended by org.sejda.model.task.BaseTask<AlternateMixParameters>
      extended by org.sejda.impl.itext.AlternateMixTask
All Implemented Interfaces:
Task<AlternateMixParameters>

public class AlternateMixTask
extends BaseTask<AlternateMixParameters>

iText implementation for the alternate mix task

Author:
Andrea Vacondio

Constructor Summary
AlternateMixTask()
           
 
Method Summary
 void after()
          Called after the task is executed, can be used to close resources.
 void before(AlternateMixParameters parameters)
          Called before the actual execution of the task.
 void execute(AlternateMixParameters parameters)
          Executes the task with the input parameters
 
Methods inherited from class org.sejda.model.task.BaseTask
getNotifiableTaskMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlternateMixTask

public AlternateMixTask()
Method Detail

before

public void before(AlternateMixParameters parameters)
Description copied from interface: Task
Called before the actual execution of the task. Can be used to perform additional validation or initialization and to deny the execution in case some requirements are not met throwing a TaskException.

Parameters:
parameters - the parameters to be executed

execute

public void execute(AlternateMixParameters parameters)
             throws TaskException
Description copied from interface: Task
Executes the task with the input parameters

Throws:
TaskException

after

public void after()
Description copied from interface: Task
Called after the task is executed, can be used to close resources. This method is called in a finally block therefore it's always called even when the task execution throws an exception.



Copyright © 2013 sejda. All Rights Reserved.