Package | Description |
---|---|
org.daisy.pipeline.client.filestorage | |
org.daisy.pipeline.client.models |
Modifier and Type | Method and Description |
---|---|
static String |
JobValidator.validate(Argument arg,
JobStorage context)
Check if the input or option is filled out properly.
|
Constructor and Description |
---|
JobStorage(Job job,
File jobStorage,
JobStorage otherJobContext,
String id)
Create a JobStorage associated with the provided Job, and copy the context from another job.
|
Modifier and Type | Method and Description |
---|---|
JobStorage |
Job.getJobStorage() |
Modifier and Type | Method and Description |
---|---|
void |
Argument.add(File file,
JobStorage context)
Add to the list of values the provided File value.
|
File |
Argument.getAsFile(JobStorage context)
Get the value as a File.
|
List<File> |
Argument.getAsFileList(JobStorage context)
Get all the values as a List of Files.
|
File |
Argument.getDefaultValueAsFile(JobStorage context)
Get the default value as a File.
|
void |
Argument.remove(File file,
JobStorage context)
Remove all occurences of the provided File value from the list of values.
|
void |
Argument.set(File file,
JobStorage context)
Replace the value with the provided File value.
|
void |
Argument.set(int position,
File file,
JobStorage context)
Replace the value at the given position with the provided File value.
|
void |
Job.setJobStorage(JobStorage storage) |
Constructor and Description |
---|
Job(Job oldJob,
JobStorage newStorage)
Creates a new job based on an old job.
|
Copyright © 2012–2022 The DAISY Consortium. All rights reserved.