public class VirtualSystemOverview extends SystemOverview implements DepthAware
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FAKENODE_LABEL |
Constructor and Description |
---|
VirtualSystemOverview() |
Modifier and Type | Method and Description |
---|---|
long |
depth()
Returns the depth of a given dto.
|
java.lang.String |
getActionName()
Gets the value of actionName
|
java.lang.Long |
getCountActiveInstances() |
java.lang.Long |
getCountTotalInstances() |
boolean |
getDoAction()
Gets the value of doAction
|
java.lang.Long |
getHostSystemId() |
java.lang.Long |
getHostSystemIdForCsv() |
boolean |
getIsVirtualHost()
Is the virtual system a 'host' system (dom0)?
|
java.lang.Long |
getMemory() |
java.lang.String |
getNoActionReason()
Gets the value of noActionReason
|
java.lang.String |
getSelectionKey() |
java.lang.String |
getStateLabel() |
java.lang.String |
getStateName() |
java.lang.Long |
getSystemId() |
java.lang.Long |
getSystemIdForCsv() |
java.lang.String |
getSystemTypeLabel()
Return a text label to identify the type of system - VM or Host
|
java.lang.String |
getUuid() |
java.lang.Long |
getVcpus() |
java.lang.String |
getVirtEntitlement()
gets the current virtual entitlement string (none if the system has no virt ent)
|
java.lang.Long |
getVirtualSystemId() |
boolean |
isAccessible() |
boolean |
isFakeNode()
Checks if node is fake
|
boolean |
isSubscribable() |
static void |
processList(DataResult result)
If we do not know the host for a virtual system,
insert a 'fake' system into the list before the
current one.
|
void |
setAccessible(boolean accessibleIn) |
void |
setActionName(java.lang.String argActionName)
Sets the value of actionName
|
void |
setCountActiveInstances(java.lang.Long countActiveInstancesIn) |
void |
setCountTotalInstances(java.lang.Long countTotalInstancesIn) |
void |
setDoAction(boolean argDoAction)
Sets the value of doAction
|
void |
setHostSystemId(java.lang.Long hostSystemIdIn) |
void |
setMemory(java.lang.Long memoryIn) |
void |
setNoActionReason(java.lang.String argNoActionReason)
Sets the value of noActionReason
|
void |
setStateLabel(java.lang.String stateLabelIn) |
void |
setStateName(java.lang.String stateNameIn) |
void |
setSubscribable(boolean subscribableIn) |
void |
setSystemId(java.lang.Long systemIdIn) |
void |
setUuid(java.lang.String uuidIn) |
void |
setVcpus(java.lang.Long vcpusIn) |
void |
setVirtEntitlement(java.lang.String virtEntitlementIn)
sets the virtual Entitlement label of this system
|
void |
setVirtualSystemId(java.lang.Long virtualSystemIdIn) |
getActionId, getAddOnEntitlementLevel, getBaseEntitlementLevel, getBugErrata, getChannelId, getChannelLabels, getConfigFilesWithDifferences, getCreated, getCreatorName, getCurrentStatusAndActionId, getEnhancementErrata, getEntitlement, getEntitlementIsBase, getEntitlementLevel, getEntitlementPermanent, getExtraPkgCount, getGroupCount, getHistoryCount, getId, getInfo, getLastBoot, getLastBootAsDate, getLastCheckin, getLastCheckinDate, getLastCheckinDaysAgo, getLastCheckinString, getLocked, getModified, getName, getOs, getOutdatedPackages, getPendingUpdates, getRelease, getSecurityErrata, getServerAdmins, getServerArchName, getServerGroupTypeId, getServerName, getStatus, getStatusDisplay, getTotalCrashCount, getTotalErrataCount, getUniqueCrashCount, getVirtualGuest, getVirtualHost, isRhnProxy, isRhnSatellite, isSelectable, setActionId, setBugErrata, setChannelId, setChannelLabels, setConfigFilesWithDifferences, setCreated, setCreatorName, setEnhancementErrata, setEntitlement, setEntitlementIsBase, setEntitlementPermanent, setExtraPkgCount, setGroupCount, setHistoryCount, setId, setInactivityString, setInfo, setIsRhnProxy, setIsRhnSatellite, setLastBoot, setLastCheckin, setLastCheckinDaysAgo, setLastCheckinString, setLocked, setLocked, setModified, setName, setOs, setOutdatedPackages, setPendingUpdates, setRelease, setSecurityErrata, setSelectable, setSelectable, setServerAdmins, setServerArchName, setServerGroupTypeId, setServerName, setStatus, setStatusDisplay, setTotalCrashCount, setUniqueCrashCount, setVirtualGuest, setVirtualHost, toString
isDisabled, isSelected, setDisabled, setSelected
public static final java.lang.String FAKENODE_LABEL
public static void processList(DataResult result)
result
- list of nodes to solvepublic boolean isAccessible()
public void setAccessible(boolean accessibleIn)
accessibleIn
- The accessible to set.public boolean isSubscribable()
public void setSubscribable(boolean subscribableIn)
subscribableIn
- The subscribable to set.public java.lang.Long getSystemId()
public void setSystemId(java.lang.Long systemIdIn)
systemIdIn
- the system id to setpublic java.lang.Long getSystemIdForCsv()
public java.lang.Long getVcpus()
public void setVcpus(java.lang.Long vcpusIn)
vcpusIn
- The vcpus to set.public java.lang.Long getMemory()
public void setMemory(java.lang.Long memoryIn)
memoryIn
- The memory to set. (in Kb)public java.lang.String getUuid()
public void setUuid(java.lang.String uuidIn)
uuidIn
- The uuid to set.public java.lang.String getStateName()
public void setStateName(java.lang.String stateNameIn)
stateNameIn
- The stateName to set.public java.lang.String getStateLabel()
public void setStateLabel(java.lang.String stateLabelIn)
stateLabelIn
- The stateLabel to set.public java.lang.Long getHostSystemId()
public void setHostSystemId(java.lang.Long hostSystemIdIn)
hostSystemIdIn
- the system id to setpublic java.lang.Long getHostSystemIdForCsv()
public java.lang.Long getVirtualSystemId()
public void setVirtualSystemId(java.lang.Long virtualSystemIdIn)
virtualSystemIdIn
- the system id to setpublic java.lang.Long getCountTotalInstances()
public void setCountTotalInstances(java.lang.Long countTotalInstancesIn)
countTotalInstancesIn
- the count of instances to setpublic java.lang.Long getCountActiveInstances()
public void setCountActiveInstances(java.lang.Long countActiveInstancesIn)
countActiveInstancesIn
- the count of active instances to setpublic boolean getIsVirtualHost()
public java.lang.String getSystemTypeLabel()
public boolean getDoAction()
public void setDoAction(boolean argDoAction)
argDoAction
- Value to assign to this.doActionpublic java.lang.String getNoActionReason()
public void setNoActionReason(java.lang.String argNoActionReason)
argNoActionReason
- Value to assign to this.noActionReasonpublic java.lang.String getActionName()
public void setActionName(java.lang.String argActionName)
argActionName
- Value to assign to this.actionNamepublic long depth()
depth
in interface DepthAware
public java.lang.String getVirtEntitlement()
public void setVirtEntitlement(java.lang.String virtEntitlementIn)
virtEntitlementIn
- the virt entitlement label to setpublic boolean isFakeNode()
public java.lang.String getSelectionKey()
getSelectionKey
in interface Selectable
getSelectionKey
in class BaseDto