Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz 'Morty' StrĂ¼be2020-08-20 11:42:26 +0000
committerAlexander Kurtakov2021-09-21 13:42:10 +0000
commit8a254f6f52db3ab4f4019271aabd7440d775f6f9 (patch)
treec2405574a70b3ea10332fcd9543f0cb8d990aaf0 /containers
parent327f45397c246c3123005c599d280c4a05666e3e (diff)
downloadorg.eclipse.linuxtools-8a254f6f52db3ab4f4019271aabd7440d775f6f9.tar.gz
org.eclipse.linuxtools-8a254f6f52db3ab4f4019271aabd7440d775f6f9.tar.xz
org.eclipse.linuxtools-8a254f6f52db3ab4f4019271aabd7440d775f6f9.zip
Add documentation to DataVolumeModel.parseString()
Change-Id: Iadde3450eea225f4e3995a56747a03be6ecc0314 Reviewed-on: https://git.eclipse.org/r/c/linuxtools/org.eclipse.linuxtools/+/168009 Tested-by: Linux Tools Bot <linuxtools-bot@eclipse.org> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'containers')
-rw-r--r--containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/DataVolumeModel.java13
1 files changed, 11 insertions, 2 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/DataVolumeModel.java b/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/DataVolumeModel.java
index a1554edf85..5546e420aa 100644
--- a/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/DataVolumeModel.java
+++ b/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/DataVolumeModel.java
@@ -107,8 +107,17 @@ public class DataVolumeModel extends BaseDatabindingModel
/**
* Create a DataVolumeModel from a toString() output.
- *
- * @param fromString
+ *
+ * @param fromString The volume information in the following format using : as
+ * separator. Windows paths containing ":" are handled
+ * correctly.
+ * <ul>
+ * <li>The path within the target
+ * <li>The @{link MountType}
+ * <li>Whether to mount read only (true/false)
+ * <li>Whether the mount is selected (true/false)
+ * </ul>
+ *
* @return DataVolumeModel
*/
public static DataVolumeModel parseString(

Back to the top