@@ -18,7 +18,7 @@ public interface MountBuilder {
1818 *
1919 * @param hostName string conforming with the uri host part
2020 * @return <code>this</code>
21- * @throws UnsupportedOperationException If {@link MountFeature #LOOPBACK_HOST_NAME} is not supported
21+ * @throws UnsupportedOperationException If {@link MountCapability #LOOPBACK_HOST_NAME} is not supported
2222 */
2323 @ Contract ("_ -> this" )
2424 default MountBuilder setLoopbackHostName (String hostName ) {
@@ -30,7 +30,7 @@ default MountBuilder setLoopbackHostName(String hostName) {
3030 *
3131 * @param port Fixed TCP port or 0 to use a system-assigned port
3232 * @return <code>this</code>
33- * @throws UnsupportedOperationException If {@link MountFeature #LOOPBACK_PORT} is not supported
33+ * @throws UnsupportedOperationException If {@link MountCapability #LOOPBACK_PORT} is not supported
3434 */
3535 @ Contract ("_ -> this" )
3636 default MountBuilder setLoopbackPort (@ Range (from = 0 , to = Short .MAX_VALUE ) int port ) {
@@ -40,7 +40,7 @@ default MountBuilder setLoopbackPort(@Range(from = 0, to = Short.MAX_VALUE) int
4040 /**
4141 * Sets the mount point.
4242 * <p>
43- * Unless the mount provide supports {@link MountFeature #MOUNT_TO_SYSTEM_CHOSEN_PATH}, setting a mount point is required.
43+ * Unless the mount provide supports {@link MountCapability #MOUNT_TO_SYSTEM_CHOSEN_PATH}, setting a mount point is required.
4444 *
4545 * @param mountPoint Where to mount the volume
4646 * @return <code>this</code>
@@ -55,7 +55,7 @@ default MountBuilder setMountpoint(Path mountPoint) {
5555 *
5656 * @param mountFlags Mount flags
5757 * @return <code>this</code>
58- * @throws UnsupportedOperationException If {@link MountFeature #MOUNT_FLAGS} is not supported
58+ * @throws UnsupportedOperationException If {@link MountCapability #MOUNT_FLAGS} is not supported
5959 * @see MountService#getDefaultMountFlags(String)
6060 */
6161 @ Contract ("_ -> this" )
@@ -69,7 +69,7 @@ default MountBuilder setMountFlags(String mountFlags) {
6969 *
7070 * @param mountReadOnly Whether to mount read-only.
7171 * @return <code>this</code>
72- * @throws UnsupportedOperationException If {@link MountFeature #READ_ONLY} is not supported
72+ * @throws UnsupportedOperationException If {@link MountCapability #READ_ONLY} is not supported
7373 */
7474 @ Contract ("_ -> this" )
7575 default MountBuilder setReadOnly (boolean mountReadOnly ) {
@@ -81,7 +81,7 @@ default MountBuilder setReadOnly(boolean mountReadOnly) {
8181 *
8282 * @param volumeId String conforming with the os-dependent path component restrictions
8383 * @return <code>this</code>
84- * @throws UnsupportedOperationException If {@link MountFeature #VOLUME_ID} is not supported
84+ * @throws UnsupportedOperationException If {@link MountCapability #VOLUME_ID} is not supported
8585 */
8686 @ Contract ("_ -> this" )
8787 default MountBuilder setVolumeId (String volumeId ) {
0 commit comments