Package org.ivoa.dm.executionbroker
Class SimpleVolumeMount.SimpleVolumeMountBuilder
java.lang.Object
org.ivoa.dm.executionbroker.SimpleVolumeMount.SimpleVolumeMountBuilder
- Enclosing class:
- SimpleVolumeMount
A builder class for SimpleVolumeMount, mainly for use in the functional builder pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionIf cardinality is set to INSTANCE, then this volume-mount will mount a single resource at the location set by path.The component type identifier.The component metadata.The read-write access mode.The filesystem mount point.A list of the data resources in this volume mount. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
path
The filesystem mount point. -
mode
The read-write access mode. -
cardinality
If cardinality is set to INSTANCE, then this volume-mount will mount a single resource at the location set by path. If cardinality is set to CONTAINER, then this volume-mount will create a directory in the target file system, at the location set by path, and mount the resources within that directory. -
resources
A list of the data resources in this volume mount. If cardinality is set to INSTANCE then this list should only contain one resource. If cardinality is set to INSTANCE and this list has more than one resource, it should fail validation. If cardinality is set to CONTAINER then this list may contain more than one resource. -
kind
The component type identifier. -
meta
The component metadata.
-
-
Constructor Details
-
SimpleVolumeMountBuilder
public SimpleVolumeMountBuilder()
-
-
Method Details
-
create
create a SimpleVolumeMount from this builder.- Returns:
- an object initialized from the builder.
-