jaitools.jiffle.runtime
Class JiffleExecutorResult

java.lang.Object
  extended by jaitools.jiffle.runtime.JiffleExecutorResult

public class JiffleExecutorResult
extends Object

Used by JiffleExecutor to send the results of a task to JiffleEventListeners.

Since:
1.1
Version:
$Id: JiffleExecutorResult.java 1506 2011-03-06 06:51:07Z michael.bedward $
Author:
Michael Bedward

Constructor Summary
JiffleExecutorResult(int taskID, Jiffle jiffle, Map<String,RenderedImage> images, boolean completed)
          Creates a new result object.
 
Method Summary
 Map<String,RenderedImage> getImages()
          Gets source and/or destination images that were used.
 Jiffle getJiffle()
          Gets the Jiffle object
 int getTaskID()
          Gets the task ID assigned by the executor.
 boolean isCompleted()
          Gets the completion status of the task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiffleExecutorResult

public JiffleExecutorResult(int taskID,
                            Jiffle jiffle,
                            Map<String,RenderedImage> images,
                            boolean completed)
Creates a new result object.

Parameters:
taskID - the task ID assigned by the executor
jiffle - the input Jiffle object
images - source and destination images keyed by script variable name
completed - whether the task was completed successfully
Method Detail

getImages

public Map<String,RenderedImage> getImages()
Gets source and/or destination images that were used.

Returns:
the images keyed by script variable name

getJiffle

public Jiffle getJiffle()
Gets the Jiffle object

Returns:
the Jiffle object

getTaskID

public int getTaskID()
Gets the task ID assigned by the executor.

Returns:
task ID

isCompleted

public boolean isCompleted()
Gets the completion status of the task.

Returns:
true if the task was completed; false otherwise


Copyright © 2009-2011. All Rights Reserved.