summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohann Latocha2012-07-27 14:19:26 +0200
committerJohann Latocha2012-07-27 14:19:26 +0200
commit0fcc432829748e956ee4a00d4c4cf7789968ad00 (patch)
treec47d9ccf53b7e8ba204d1c9e48d3c5469d249a5c
parentAdd image (diff)
downloaddnbd3-mgr-0fcc432829748e956ee4a00d4c4cf7789968ad00.tar.gz
dnbd3-mgr-0fcc432829748e956ee4a00d4c4cf7789968ad00.tar.xz
dnbd3-mgr-0fcc432829748e956ee4a00d4c4cf7789968ad00.zip
Add new constructor
-rw-r--r--src/main/java/org/openslx/dnbd3/DNBD3Image.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/dnbd3/DNBD3Image.java b/src/main/java/org/openslx/dnbd3/DNBD3Image.java
index 5047f2a..98d8fc8 100644
--- a/src/main/java/org/openslx/dnbd3/DNBD3Image.java
+++ b/src/main/java/org/openslx/dnbd3/DNBD3Image.java
@@ -27,6 +27,10 @@ public class DNBD3Image {
public DNBD3Image(String group, int vid, int rid, String path, String servers) {
this(group, "01.01.70 01:00:00", vid, rid, path, servers, "");
}
+
+ public DNBD3Image(String group, int vid, String path, String servers) {
+ this(group, "01.01.70 01:00:00", vid, 0, path, servers, "");
+ }
public String getGroup() {
return group;