Commit 73f4e5e2 authored by liugaoling's avatar liugaoling

add disk

parent 18c137d7
...@@ -25,7 +25,7 @@ public class AutoCluster { ...@@ -25,7 +25,7 @@ public class AutoCluster {
/** /**
* 实例磁盘类型及大小(SSD 40) * 实例磁盘类型及大小(SSD 40)
*/ */
private CLoudamDisk disk; private CloudamDisk disk;
public String getPartition() { public String getPartition() {
return partition; return partition;
...@@ -50,4 +50,12 @@ public class AutoCluster { ...@@ -50,4 +50,12 @@ public class AutoCluster {
public void setOs(Os os) { public void setOs(Os os) {
this.os = os; this.os = os;
} }
public CloudamDisk getDisk() {
return disk;
}
public void setDisk(CloudamDisk disk) {
this.disk = disk;
}
} }
\ No newline at end of file
package com.cloudam.cromwell.domain; package com.cloudam.cromwell.domain;
public class CLoudamDisk { public class CloudamDisk {
private String type; private String type;
private int size; private int size;
public CLoudamDisk() { public CloudamDisk() {
} }
public CLoudamDisk(String type, int size) { public CloudamDisk(String type, int size) {
this.type = type; this.type = type;
this.size = size; this.size = size;
} }
......
...@@ -30,7 +30,7 @@ public class JobDescription { ...@@ -30,7 +30,7 @@ public class JobDescription {
private AutoCluster autoCluster; private AutoCluster autoCluster;
/** /**
* * 执行命令
*/ */
private String workScript; private String workScript;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment