public static final class Mounts.Builder
extends java.lang.Object
MountInfoProvider
instancesModifier and Type | Method and Description |
---|---|
MountInfoProvider |
build()
Creates a new
MountInfoProvider |
Mounts.Builder |
mount(java.lang.String name,
boolean readOnly,
java.util.List<java.lang.String> pathsSupportingFragments,
java.util.List<java.lang.String> paths)
Adds a new Mount instance with the specified parameters
|
Mounts.Builder |
mount(java.lang.String name,
java.lang.String... paths)
Adds a new read-write
Mount with the specified name and paths |
Mounts.Builder |
readOnlyMount(java.lang.String name,
java.lang.String... paths)
Adds a new read-only Mount with the specified name and paths
|
public Mounts.Builder mount(java.lang.String name, java.lang.String... paths)
Mount
with the specified name and pathsname
- the name of the mountpaths
- the paths handled by the mountpublic Mounts.Builder readOnlyMount(java.lang.String name, java.lang.String... paths)
name
- the name of the mountpaths
- the paths handled by the mountpublic Mounts.Builder mount(java.lang.String name, boolean readOnly, java.util.List<java.lang.String> pathsSupportingFragments, java.util.List<java.lang.String> paths)
name
- the name of the mountreadOnly
- true for read-only paths, false otherwisepathsSupportingFragments
- the paths supporting fragments, see Mount.getPathFragmentName()
paths
- the paths handled by the mountpublic MountInfoProvider build()
MountInfoProvider
Copyright © 2010 - 2020 Adobe. All Rights Reserved