public class WorkflowResults extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WorkflowResults.Privacy
The privacy setting.
|
Constructor and Description |
---|
WorkflowResults() |
Modifier and Type | Method and Description |
---|---|
void |
addFile(java.io.File file,
java.lang.String title,
java.lang.String description)
Add a file with a specific type to the collection.
|
void |
cleanUp()
Free sources.
|
java.util.Set<org.seedme.client.FileEntry> |
files()
Get the set of files.
|
java.lang.String |
get(java.lang.String key)
Get the value for a key.
|
WorkflowResults.Privacy |
getPrivacy()
Get the Privacy for these results.
|
java.lang.String |
getShareWith()
Get who these results are shared with.
|
java.util.Map<java.lang.String,java.lang.String> |
keyValues()
Get the set of key values.
|
void |
setKeyValue(java.lang.String key,
java.lang.String value)
Set a key value for the collection.
|
void |
setPrivacy(WorkflowResults.Privacy privacy)
Set the privacy for this collection.
|
void |
setTempDir(java.io.File dir)
Set the temporary directory for the results.
|
void |
shareWith(java.lang.String emailStr)
Share the collection with a set of emails.
|
public WorkflowResults()
public java.lang.String get(java.lang.String key)
public java.util.Map<java.lang.String,java.lang.String> keyValues()
public java.lang.String getShareWith()
public WorkflowResults.Privacy getPrivacy()
public java.util.Set<org.seedme.client.FileEntry> files()
public void setKeyValue(java.lang.String key, java.lang.String value)
public void setPrivacy(WorkflowResults.Privacy privacy)
public void setTempDir(java.io.File dir)
public void cleanUp()
public void addFile(java.io.File file, java.lang.String title, java.lang.String description)
file
- type
- The type of file.title
- description
- public void shareWith(java.lang.String emailStr)