public class ContentsDescriptorBuilder extends Object
Constructor and Description |
---|
ContentsDescriptorBuilder() |
Modifier and Type | Method and Description |
---|---|
InputDescription |
makeInputDescriptor(TavernaRun run,
javax.ws.rs.core.UriInfo ui)
Constructs input descriptions.
|
OutputDescription |
makeOutputDescriptor(TavernaRun run,
javax.ws.rs.core.UriInfo ui)
Construct a description of the outputs of a workflow run.
|
void |
setFileUtils(FilenameUtils fileUtils) |
void |
setUriBuilderFactory(UriBuilderFactory uriBuilderFactory) |
public void setUriBuilderFactory(UriBuilderFactory uriBuilderFactory)
public void setFileUtils(FilenameUtils fileUtils)
public OutputDescription makeOutputDescriptor(TavernaRun run, javax.ws.rs.core.UriInfo ui) throws FilesystemAccessException, NoDirectoryEntryException
run
- The workflow run whose outputs are to be described.ui
- The origin for URIs.FilesystemAccessException
- If something goes wrong reading the directories.NoDirectoryEntryException
- If something goes wrong reading the directories.public InputDescription makeInputDescriptor(TavernaRun run, javax.ws.rs.core.UriInfo ui)
run
- The run to build for.ui
- The mechanism for building URIs.Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.