public class TrianaShiwaListener
extends java.lang.Object
implements org.shiwa.desktop.data.transfer.ExecutionListener
TrianaShiwaEvent
Constructor and Description |
---|
TrianaShiwaListener(TrianaInstance trianaInstance)
Instantiates a new triana shiwa listener.
|
Modifier and Type | Method and Description |
---|---|
void |
addSHIWADesktop(org.shiwa.desktop.gui.SHIWADesktop shiwaDesktop)
Adds the shiwa desktop.
|
void |
digestWorkflow(java.io.File workflowDefinitionFile,
java.io.File fgiBundleFile,
org.shiwa.desktop.data.description.handler.TransferSignature signature) |
IoConfiguration |
getIOConfigFromSignature(java.lang.String name,
org.shiwa.desktop.data.description.handler.TransferSignature signature)
Gets the iO config from signature.
|
boolean |
ignoreBundle() |
void |
setReceivedListener(org.shiwa.desktop.gui.util.listener.DefaultBundleReceivedListener receivedListener)
Sets the received listener.
|
static java.io.File |
writeConfigurationResourceToFile(org.shiwa.desktop.data.description.resource.ConfigurationResource configurationResource,
java.io.File file,
java.io.File outputLocation)
Write configuration resource to file.
|
public TrianaShiwaListener(TrianaInstance trianaInstance)
trianaInstance
- the triana instancepublic IoConfiguration getIOConfigFromSignature(java.lang.String name, org.shiwa.desktop.data.description.handler.TransferSignature signature)
name
- the namesignature
- the signaturepublic static java.io.File writeConfigurationResourceToFile(org.shiwa.desktop.data.description.resource.ConfigurationResource configurationResource, java.io.File file, java.io.File outputLocation) throws java.io.IOException
configurationResource
- the configuration resourcefile
- the fileoutputLocation
- the output locationjava.io.IOException
- Signals that an I/O exception has occurred.public void digestWorkflow(java.io.File workflowDefinitionFile, java.io.File fgiBundleFile, org.shiwa.desktop.data.description.handler.TransferSignature signature)
digestWorkflow
in interface org.shiwa.desktop.data.transfer.ExecutionListener
public boolean ignoreBundle()
ignoreBundle
in interface org.shiwa.desktop.data.transfer.ExecutionListener
public void setReceivedListener(org.shiwa.desktop.gui.util.listener.DefaultBundleReceivedListener receivedListener)
receivedListener
- the new received listenerpublic void addSHIWADesktop(org.shiwa.desktop.gui.SHIWADesktop shiwaDesktop)
shiwaDesktop
- the shiwa desktop