public interface Task
| Modifier and Type | Method and Description |
|---|---|
void |
apply(InputStream source,
OutputStream destination)
Apply this Task by copying source to destination.
|
boolean |
configureInteractively(InteractiveConfigurer configurer,
boolean force)
Configure the task by asking the user for inputs.
|
void |
deserialize(org.jdom2.Element node)
Load the task from a list of JDOM Elements.
|
String |
getPath()
Gets the Task Path.
|
String |
getSerializedName()
Gets the serialized Task Name.
|
boolean |
isConfigured()
Determine if the Task is completely configured.
|
void |
merge(Task other)
Merge another Task with this one.
|
void |
serialize(org.jdom2.Element node)
Serialize this Task to a JDOM Element.
|
String getPath()
String getSerializedName()
void deserialize(org.jdom2.Element node)
throws IOException
node - the JDOM Element to use for configuring this instanceIOException - indicating IO Errorvoid merge(Task other)
other - the other Taskboolean isConfigured()
throws IOException
IOException - indicating IO Errorboolean configureInteractively(InteractiveConfigurer configurer, boolean force) throws Exception
configurer - the InteractiveConfigurer to useforce - if true, the Task is always configuredException - indicating processing failurevoid serialize(org.jdom2.Element node)
throws IOException
node - the JDOM Element to serialize toIOException - indicating IO Errorvoid apply(InputStream source, OutputStream destination) throws Exception
source - the Input streamdestination - the Output streamException - indicating processing failureCopyright © 2013–2017 Polago AB. All rights reserved.