forked from zstackio/zstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves ZSTAC-6476 Signed-off-by: AlanJager <[email protected]>
- Loading branch information
Showing
5 changed files
with
377 additions
and
48 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
header/src/main/java/org/zstack/header/volume/ChangeVolumeStatusMsg.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package org.zstack.header.volume; | ||
|
||
import org.zstack.header.message.NeedReplyMessage; | ||
|
||
/** | ||
* Created by kayo on 2018/3/9. | ||
*/ | ||
public class ChangeVolumeStatusMsg extends NeedReplyMessage implements VolumeMessage { | ||
private String volumeUuid; | ||
private VolumeStatus status; | ||
|
||
@Override | ||
public String getVolumeUuid() { | ||
return volumeUuid; | ||
} | ||
|
||
public void setVolumeUuid(String volumeUuid) { | ||
this.volumeUuid = volumeUuid; | ||
} | ||
|
||
public VolumeStatus getStatus() { | ||
return status; | ||
} | ||
|
||
public void setStatus(VolumeStatus status) { | ||
this.status = status; | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
header/src/main/java/org/zstack/header/volume/ChangeVolumeStatusReply.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.zstack.header.volume; | ||
|
||
import org.zstack.header.message.MessageReply; | ||
|
||
/** | ||
* Created by kayo on 2018/3/9. | ||
*/ | ||
public class ChangeVolumeStatusReply extends MessageReply { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.