Commit 73f4e5e2 authored by liugaoling's avatar liugaoling

add disk

parent 18c137d7
......@@ -25,7 +25,7 @@ public class AutoCluster {
/**
* 实例磁盘类型及大小(SSD 40)
*/
private CLoudamDisk disk;
private CloudamDisk disk;
public String getPartition() {
return partition;
......@@ -50,4 +50,12 @@ public class AutoCluster {
public void setOs(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;
public class CLoudamDisk {
public class CloudamDisk {
private String type;
private int size;
public CLoudamDisk() {
public CloudamDisk() {
}
public CLoudamDisk(String type, int size) {
public CloudamDisk(String type, int size) {
this.type = type;
this.size = size;
}
......
......@@ -30,7 +30,7 @@ public class JobDescription {
private AutoCluster autoCluster;
/**
*
* 执行命令
*/
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