Package org.ivoa.dm.tool
Class Tool.ToolBuilder
java.lang.Object
org.ivoa.dm.tool.Tool.ToolBuilder
- Enclosing class:
- Tool
A builder class for Tool, mainly for use in the functional builder pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionTokenized initial command; supports {{inputs.key}} min_length=1.Environment map entries.Unique tool identifier.Tool container image reference.Tool interface definition - note that the inputs will be mounted in the /inputs directory and the outputs in the /outputs directory.Performance profile for the tool. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
Unique tool identifier. -
image
Tool container image reference. -
command
Tokenized initial command; supports {{inputs.key}} min_length=1. -
env
Environment map entries. -
interface_
Tool interface definition - note that the inputs will be mounted in the /inputs directory and the outputs in the /outputs directory. -
performanceProfile
Performance profile for the tool.
-
-
Constructor Details
-
ToolBuilder
public ToolBuilder()
-
-
Method Details
-
create
create a Tool from this builder.- Returns:
- an object initialized from the builder.
-