Package | Description |
---|---|
org.apache.taverna.server.master |
The core of the implementation of Taverna Server, including the
implementations of the SOAP and REST interfaces.
|
org.apache.taverna.server.master.interaction |
This package contains the Atom feed implementation for interactions for a particular workflow run.
|
org.apache.taverna.server.master.interfaces |
Interfaces to the main worker classes that provide the magical power
that drives the webapp front-end.
|
org.apache.taverna.server.master.rest |
This package contains the RESTful interface to Taverna Server.
|
org.apache.taverna.server.master.rest.handler |
This package contains type handlers for the RESTful interface to Taverna Server.
|
org.apache.taverna.server.master.soap |
This package contains the SOAP interface to Taverna Server.
|
org.apache.taverna.server.master.utils |
Miscellaneous utility classes.
|
org.apache.taverna.server.master.worker |
A Taverna Server back-end that works by forking off workflow executors.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
InteractionFeed.addEntry(org.apache.abdera.model.Entry entry) |
void |
TavernaServerSupport.copyDataToFile(DataHandler handler,
File file) |
void |
TavernaServerSupport.copyDataToFile(URI uri,
File file) |
void |
TavernaServerSupport.copyStreamToFile(InputStream stream,
File file) |
String |
InteractionFeed.deleteEntry(String id) |
void |
TavernaServer.destroyRunDirectoryEntry(String runName,
DirEntry d) |
org.apache.abdera.model.Entry |
InteractionFeed.getEntry(String id) |
org.apache.abdera.model.Feed |
InteractionFeed.getFeed() |
FileContents |
TavernaServer.getRunBundle(String runName) |
byte[] |
TavernaServer.getRunDirectoryAsZip(String runName,
DirEntry d) |
ZippedDirectory |
TavernaServer.getRunDirectoryAsZipMTOM(String runName,
DirEntry d) |
DirEntry[] |
TavernaServer.getRunDirectoryContents(String runName,
DirEntry d) |
byte[] |
TavernaServer.getRunFileContents(String runName,
DirEntry d) |
FileContents |
TavernaServer.getRunFileContentsMTOM(String runName,
DirEntry d) |
long |
TavernaServer.getRunFileLength(String runName,
DirEntry d) |
Date |
TavernaServer.getRunFileModified(String runName,
DirEntry d) |
String |
TavernaServer.getRunFileType(String runName,
DirEntry d) |
OutputDescription |
TavernaServer.getRunOutputDescription(String runName) |
OutputDescription |
ContentsDescriptorBuilder.makeOutputDescriptor(TavernaRun run,
javax.ws.rs.core.UriInfo ui)
Construct a description of the outputs of a workflow run.
|
DirEntry |
TavernaServer.makeRunDirectory(String runName,
DirEntry parent,
String name) |
DirEntry |
TavernaServer.makeRunFile(String runName,
DirEntry parent,
String name) |
void |
TavernaServer.setRunFileContents(String runName,
DirEntry d,
byte[] newContents) |
void |
TavernaServer.setRunFileContentsFromURI(String runName,
DirEntryReference file,
URI reference) |
void |
TavernaServer.setRunFileContentsMTOM(String runName,
FileContents newContents) |
void |
TavernaServer.setRunInputBaclavaFile(String runName,
String fileName) |
void |
TavernaServer.setRunInputPortFile(String runName,
String portName,
String portFilename) |
void |
TavernaServer.setRunOutputBaclavaFile(String runName,
String outputFile) |
Modifier and Type | Method and Description |
---|---|
org.apache.abdera.model.Entry |
InteractionFeedSupport.addRunFeedEntry(TavernaRun run,
org.apache.abdera.model.Entry entry)
Given a partial feed entry, store a complete feed entry in the filesystem
for a particular run.
|
org.apache.abdera.model.Feed |
InteractionFeedSupport.getRunFeed(TavernaRun run)
Get the interaction feed for a partciular run.
|
org.apache.abdera.model.Entry |
InteractionFeedSupport.getRunFeedEntry(TavernaRun run,
String entryID)
Gets the contents of a particular feed entry.
|
void |
InteractionFeedSupport.removeRunFeedEntry(TavernaRun run,
String entryID)
Deletes an entry from a feed.
|
Modifier and Type | Method and Description |
---|---|
void |
File.appendContents(byte[] data)
Append the data to the file.
|
void |
File.copy(File from)
Asks for the argument file to be copied to this one.
|
void |
DirectoryEntry.destroy()
Destroy this directory entry, deleting the file or sub-directory.
|
Collection<DirectoryEntry> |
Directory.getContents() |
byte[] |
File.getContents(int offset,
int length) |
Directory.ZipStream |
Directory.getContentsAsZip() |
Collection<DirectoryEntry> |
Directory.getContentsByDate() |
long |
File.getSize() |
Directory |
TavernaRun.getWorkingDirectory() |
File |
Directory.makeEmptyFile(Principal actor,
String name)
Creates an empty file in this directory.
|
Directory |
Directory.makeSubdirectory(Principal actor,
String name)
Creates a sub-directory of this directory.
|
void |
File.setContents(byte[] data)
Write the data to the file, totally replacing what was there before.
|
void |
Input.setFile(String file)
Sets the file to use for this input.
|
void |
TavernaRun.setInputBaclavaFile(String filename)
Sets the Baclava file to use for all inputs.
|
void |
TavernaRun.setOutputBaclavaFile(String filename)
Sets where the output of the run is to be written to.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
InteractionFeedREST.addEntry(org.apache.abdera.model.Entry entry)
Adds an entry to this ATOM feed.
|
String |
InteractionFeedREST.deleteEntry(String id)
Delete an entry from this ATOM feed.
|
javax.ws.rs.core.Response |
TavernaServerDirectoryREST.destroyDirectoryEntry(List<javax.ws.rs.core.PathSegment> path)
Deletes a file or directory that is in or below the working directory of
a workflow run.
|
DirectoryContents |
TavernaServerDirectoryREST.getDescription(javax.ws.rs.core.UriInfo ui)
Get the working directory of the workflow run.
|
javax.ws.rs.core.Response |
TavernaServerDirectoryREST.getDirectoryOrFileContents(List<javax.ws.rs.core.PathSegment> path,
javax.ws.rs.core.UriInfo ui,
javax.ws.rs.core.HttpHeaders headers)
|
org.apache.abdera.model.Entry |
InteractionFeedREST.getEntry(String id)
Gets the content of an entry in this ATOM feed.
|
org.apache.abdera.model.Feed |
InteractionFeedREST.getFeed()
Get the feed document for this ATOM feed.
|
OutputDescription |
TavernaServerRunREST.getOutputDescription(javax.ws.rs.core.UriInfo ui)
Get a description of the outputs.
|
javax.ws.rs.core.Response |
TavernaServerDirectoryREST.makeDirectoryOrUpdateFile(List<javax.ws.rs.core.PathSegment> parent,
MakeOrUpdateDirEntry operation,
javax.ws.rs.core.UriInfo ui)
Creates a directory in the filesystem beneath the working directory of
the workflow run, or creates or updates a file's contents, where that
file is in or below the working directory of a workflow run.
|
String |
TavernaServerInputREST.setBaclavaFile(String filename)
Set the Baclava file that will supply all the inputs to the workflow run.
|
javax.ws.rs.core.Response |
TavernaServerDirectoryREST.setFileContents(List<javax.ws.rs.core.PathSegment> file,
InputStream contents,
javax.ws.rs.core.UriInfo ui)
Creates or updates a file in a particular location beneath the working
directory of the workflow run.
|
javax.ws.rs.core.Response |
TavernaServerDirectoryREST.setFileContentsFromURL(List<javax.ws.rs.core.PathSegment> file,
List<URI> referenceList,
javax.ws.rs.core.UriInfo ui)
Creates or updates a file in a particular location beneath the working
directory of the workflow run.
|
TavernaServerInputREST.InDesc |
TavernaServerInputREST.setInput(String name,
TavernaServerInputREST.InDesc inputDescriptor,
javax.ws.rs.core.UriInfo uriInfo)
Set what an input uses to provide data into the workflow run.
|
String |
TavernaServerRunREST.setOutputFile(String filename)
Set the output Baclava file for this workflow run.
|
Constructor and Description |
---|
FileSegment(File f,
String range)
Parse the HTTP Range header and determine what exact range of the file to
read.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
FilesystemAccessHandler.toResponse(FilesystemAccessException exn) |
Modifier and Type | Method and Description |
---|---|
void |
TavernaServerSOAP.destroyRunDirectoryEntry(String runName,
DirEntry dirEntry)
Destroy an entry (file or directory) in or beneath a run's working
directory.
|
FileContents |
TavernaServerSOAP.getRunBundle(String runName)
Returns the run bundle of a run.
|
byte[] |
TavernaServerSOAP.getRunDirectoryAsZip(String runName,
DirEntry directory)
Get the contents of any directory (and its subdirectories) at/under the
run's working directory, returning it as a compressed ZIP file.
|
ZippedDirectory |
TavernaServerSOAP.getRunDirectoryAsZipMTOM(String runName,
DirEntry directory)
Get the contents of any directory (and its subdirectories) at/under the
run's working directory, returning it as a compressed ZIP file that is
streamed via MTOM.
|
DirEntry[] |
TavernaServerSOAP.getRunDirectoryContents(String runName,
DirEntry directory)
Get the contents of any directory at/under the run's working directory.
|
byte[] |
TavernaServerSOAP.getRunFileContents(String runName,
DirEntry file)
Get the contents of a file under the run's working directory.
|
FileContents |
TavernaServerSOAP.getRunFileContentsMTOM(String runName,
DirEntry file)
Get the contents of a file under the run's working directory via MTOM.
|
long |
TavernaServerSOAP.getRunFileLength(String runName,
DirEntry file)
Get the length of any file (in bytes) at/under the run's working
directory.
|
Date |
TavernaServerSOAP.getRunFileModified(String runName,
DirEntry file)
Get the time that the file or directory (at/under the run's working
directory) was last modified.
|
String |
TavernaServerSOAP.getRunFileType(String runName,
DirEntry file)
Get the content type of any file at/under the run's working directory.
|
OutputDescription |
TavernaServerSOAP.getRunOutputDescription(String runName)
Return a description of the outputs of a run.
|
DirEntry |
TavernaServerSOAP.makeRunDirectory(String runName,
DirEntry parent,
String name)
Make a new empty directory beneath an existing one, which must be the
run's working directory or a directory beneath it.
|
DirEntry |
TavernaServerSOAP.makeRunFile(String runName,
DirEntry parent,
String name)
Make a new empty file in an existing directory, which may be the run's
working directory or any directory beneath it.
|
void |
TavernaServerSOAP.setRunFileContents(String runName,
DirEntry file,
byte[] newContents)
Set the contents of a file under the run's working directory.
|
void |
TavernaServerSOAP.setRunFileContentsFromURI(String runName,
DirEntryReference file,
URI reference)
Set the contents of a file under the run's working directory to the
contents of a publicly readable URI.
|
void |
TavernaServerSOAP.setRunFileContentsMTOM(String runName,
FileContents newContents)
Set the contents of a file under the run's working directory.
|
void |
TavernaServerSOAP.setRunInputBaclavaFile(String runName,
String fileName)
Tells the run to use the given Baclava file for all inputs.
|
void |
TavernaServerSOAP.setRunInputPortFile(String runName,
String portName,
String portFilename)
Tells the run to use the given file for input on the given port.
|
void |
TavernaServerSOAP.setRunOutputBaclavaFile(String runName,
String outputFile)
Set the Baclava file where the output of the run will be written.
|
void |
FileContents.writeToFile(File file)
Write the content described by this class to the specified file.
|
Modifier and Type | Method and Description |
---|---|
Directory |
FilenameUtils.getDirectory(TavernaRun run,
DirEntryReference d)
Get a named directory from a workflow run.
|
Directory |
FilenameUtils.getDirectory(TavernaRun run,
String name)
Get a named directory from a workflow run.
|
DirectoryEntry |
FilenameUtils.getDirEntry(TavernaRun run,
DirEntryReference d)
Get a named directory entry from a workflow run.
|
DirectoryEntry |
FilenameUtils.getDirEntry(TavernaRun run,
List<javax.ws.rs.core.PathSegment> d)
Get a named directory entry from a workflow run.
|
DirectoryEntry |
FilenameUtils.getDirEntry(TavernaRun run,
String name)
Get a named directory entry from a workflow run.
|
File |
FilenameUtils.getFile(TavernaRun run,
DirEntryReference d)
Get a named file from a workflow run.
|
File |
FilenameUtils.getFile(TavernaRun run,
String name)
Get a named file from a workflow run.
|
Modifier and Type | Method and Description |
---|---|
Directory |
RemoteRunDelegate.getWorkingDirectory() |
void |
RemoteRunDelegate.setInputBaclavaFile(String filename) |
void |
RemoteRunDelegate.setOutputBaclavaFile(String filename) |
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.