public abstract class Script extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
Script.Builder
Builder for
Script objects. |
Modifier | Constructor and Description |
---|---|
protected |
Script(String id,
String version,
String name,
String description,
String homepage,
Map<String,ScriptPort> inputPorts,
Map<String,ScriptPort> outputPorts,
Map<String,ScriptOption> options,
List<String> inputFilesets,
List<String> outputFilesets) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
The description.
|
String |
getHomepage()
The homepage.
|
String |
getId()
The ID.
|
Iterable<String> |
getInputFilesets()
The input media types.
|
ScriptPort |
getInputPort(String name)
Get the input port for the given name.
|
Iterable<ScriptPort> |
getInputPorts()
Get all the input ports.
|
String |
getName()
The name.
|
ScriptOption |
getOption(String name)
Get the option for the given name.
|
Iterable<ScriptOption> |
getOptions()
Get all the options.
|
Iterable<String> |
getOutputFilesets()
The output media types.
|
ScriptPort |
getOutputPort(String name)
Get the output port for the given name.
|
Iterable<ScriptPort> |
getOutputPorts()
Get all the input ports.
|
String |
getVersion()
The version.
|
String |
toString() |
public String getId()
public String getVersion()
public String getName()
public String getDescription()
public String getHomepage()
public Iterable<ScriptPort> getInputPorts()
public ScriptPort getInputPort(String name)
public Iterable<ScriptPort> getOutputPorts()
public ScriptPort getOutputPort(String name)
public Iterable<ScriptOption> getOptions()
public ScriptOption getOption(String name)
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.