File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
src/main/java/org/cryptomator/integrations/mount Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1313 */
1414public interface MountBuilder {
1515
16+ /**
17+ * Sets the file system name.
18+ *
19+ * @param fileSystemName file system name
20+ * @return <code>this</code>
21+ * @throws UnsupportedOperationException If {@link MountCapability#FILE_SYSTEM_NAME} is not supported
22+ */
23+ @ Contract ("_ -> this" )
24+ default MountBuilder setFileSystemName (String fileSystemName ) {
25+ throw new UnsupportedOperationException ();
26+ }
27+
1628 /**
1729 * Use the given host name as the loopback address.
1830 *
Original file line number Diff line number Diff line change 88 * This may be used to show or hide different configuration options depending on the chosen mount provider.
99 */
1010public enum MountCapability {
11+ /**
12+ * The builder supports {@link MountBuilder#setFileSystemName(String)}.
13+ */
14+ FILE_SYSTEM_NAME ,
15+
1116 /**
1217 * The builder supports {@link MountBuilder#setLoopbackHostName(String)}.
1318 */
1419 LOOPBACK_HOST_NAME ,
1520
1621 /**
17- * The provider supports {@link MountService#getDefaultLoopbackPort()}
22+ * The service provider supports {@link MountService#getDefaultLoopbackPort()}
1823 * and the builder requires {@link MountBuilder#setLoopbackPort(int)}.
1924 */
2025 LOOPBACK_PORT ,
You can’t perform that action at this time.
0 commit comments