public class ReconfigureDetails extends EventDetails
Example: {CPU: +1, RAM: +1024}
| Modifier and Type | Class and Description |
|---|---|
static class |
ReconfigureDetails.Builder<B extends ReconfigureDetails.Builder<B,E>,E extends ReconfigureDetails>
Builder helper for
ReconfigureDetails. |
static class |
ReconfigureDetails.keys
All data susceptible to change in a virtual machine reconfigure.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DISABLED_VALUE
Value for a disabled key
|
static java.lang.String |
ENABLED_VALUE
Value for a enabled key
|
| Modifier | Constructor and Description |
|---|---|
protected |
ReconfigureDetails(com.google.common.collect.ImmutableMap<AbiquoKey,java.lang.Object> map)
Creates the forwarding map using a copy of the given
ImmutableMap
map. |
| Modifier and Type | Method and Description |
|---|---|
static ReconfigureDetails.Builder<?,ReconfigureDetails> |
builder()
Returns a builder instance for
ReconfigureDetails. |
java.lang.String |
getCoresPerSocketDiff() |
java.lang.String |
getCpuDiff() |
java.lang.String |
getDvdDiff() |
java.lang.String |
getRamDiff() |
java.lang.String |
getRemoteAccessDiff() |
delegate, equals, getTransportMap, hashCodeclear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, valuespublic static java.lang.String ENABLED_VALUE
public static java.lang.String DISABLED_VALUE
protected ReconfigureDetails(com.google.common.collect.ImmutableMap<AbiquoKey,java.lang.Object> map)
ImmutableMap
map.
Must be a non-visible constructor to force the developer to use the ReconfigureDetails.Builder.
map - the immutable map to create the event detailspublic java.lang.String getCpuDiff()
public java.lang.String getRamDiff()
public java.lang.String getCoresPerSocketDiff()
public java.lang.String getDvdDiff()
"+" if enabled, "-" if disabled and
null if unchangedpublic java.lang.String getRemoteAccessDiff()
"+" if enabled, "-" if
disabled and null if unchangedpublic static ReconfigureDetails.Builder<?,ReconfigureDetails> builder()
ReconfigureDetails.ReconfigureDetailsCopyright © 2008-2020 Abiquo Holdings S.L.. All Rights Reserved.