public interface Job
Modifier and Type | Method and Description |
---|---|
void |
addFile(SqwFile file)
add a job specific file
|
Job |
addParent(Job parent)
add job's parent
|
Map<String,String> |
getAnnotations()
Set arbitrary key-value annotations on jobs.
|
Command |
getCommand() |
String |
getMaxMemory() |
Collection<Job> |
getParents() |
String |
getQueue() |
int |
getThreads() |
boolean |
hasMetadataWriteback()
job specific metadata is not supported yet
|
boolean |
isLocal()
Whether this job should run locally instead of out on a cluster.
|
Command |
setCommand(String cmd)
set the job command
|
void |
setHasMetadataWriteback(boolean metadata)
job specific metadata is not supported yet
|
void |
setLocal()
Sets this job to run locally.
|
void |
setLocal(boolean runLocal)
Sets whether this job should run locally.
|
Job |
setMaxMemory(String mem)
set max memory
|
void |
setParentAccessions(Collection<String> parentAccessions)
set parent accessiosns for the job
|
Job |
setQueue(String queue)
set the queue
|
Job |
setThreads(int count)
set the max thread number
|
void addFile(SqwFile file)
file
- Command getCommand()
Collection<Job> getParents()
String getMaxMemory()
Job setThreads(int count)
count
- int getThreads()
String getQueue()
void setHasMetadataWriteback(boolean metadata)
metadata
- boolean hasMetadataWriteback()
void setParentAccessions(Collection<String> parentAccessions)
parentAccessions
- boolean isLocal()
void setLocal()
void setLocal(boolean runLocal)
runLocal
- true to run locally, false otherwiseCopyright © 2015 SeqWare. All rights reserved.