Package de.xima.fc.common.filesystem
Class CommonFileSystemVolumeBuilder<FD>
- java.lang.Object
-
- de.xima.fc.common.filesystem.CommonFileSystemVolumeBuilder<FD>
-
- Type Parameters:
FD
- The type of the file descriptor for this volume.
public final class CommonFileSystemVolumeBuilder<FD> extends Object
A builder for a file system volume.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICommonFileSystemVolume<FD>
build()
Builds a file system volume with current settings.CommonFileSystemVolumeBuilder<FD>
parentVolumeId(String parentVolumeId)
Sets the optional parent volume ID.
-
-
-
Method Detail
-
build
public ICommonFileSystemVolume<FD> build()
Builds a file system volume with current settings. Subsequent changes to this builder will not affect the returned volume.- Returns:
- The file system volume.
-
parentVolumeId
public CommonFileSystemVolumeBuilder<FD> parentVolumeId(String parentVolumeId)
Sets the optional parent volume ID. This can be used to create a hierarchy of volumes, or to group volumes.- Parameters:
parentVolumeId
- The parent volume ID.- Returns:
- This builder for chaining method calls.
-
-