public class HibernateVmCommand<T extends HibernateVmParameters> extends VmOperationCommandBase<T>
MAX_NETWORK_INTERFACES_SUPPORTED
BYTES_IN_GB
Modifier | Constructor and Description |
---|---|
protected |
HibernateVmCommand(Guid commandId)
Constructor for command creation when compensation is applied on startup
|
|
HibernateVmCommand(T parameters) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canDoAction() |
protected Guid |
ConcreteCreateTask(AsyncTaskCreationInfo asyncTaskCreationInfo,
VdcActionType parentCommand) |
protected void |
EndSuccessfully() |
protected void |
EndWithFailure() |
AuditLogType |
getAuditLogTypeValue() |
protected HibernateVmParameters |
getHibernateVmParams() |
NGuid |
getStorageDomainId() |
protected void |
Perform() |
ExecuteVmCommand, GetRunningOnVds
CheckPCIAndIDELimit, EndActionOnDisks, EndVmCommand, executeCommand, getBlockSparseInitSizeInGB, getChildActionType, getDescription, getNeededDiskSize, getPermissionCheckSubjects, GetTagsAttachedToObject, handleCustomPropertiesError, HandleHibernatedVm, isVmNameValidLength, lockVmWithCompensationIfNeeded, RemoveVmDynamic, RemoveVmInSpm, RemoveVmInSpm, RemoveVmNetwork, RemoveVmStatic, RemoveVmStatistics, RemoveVmUsers, UpdateVmInSpm, UpdateVmInSpm, validateNumberOfNics
acquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, CanDoActionOnly, compensate, CreateReturnValue, CreateTask, EndAction, endActionInTransactionScope, ExecuteAction, freeLock, getActionReturnValue, getActionState, getActionType, getBusinessEntitySnapshotDAO, getCommandShouldBeLogged, getCompensationContext, getNow, getObjectLockingId, getParameters, getParametersForTask, getReturnValue, getSucceeded, getTaskIdList, getTransactionScopeOption, getTransactionTimeout, getValidationGroups, IsBackwardsCompatible, isInternalExecution, IsUserAutorizedToRunAction, RevertTasks, Rollback, runInTransaction, runVdsCommand, setActionMessageParameters, setActionReturnValue, setCommandShouldBeLogged, setCompensationContext, setDescription, setInternalExecution, setSucceeded, UpdateTasksWithActionParameters, validateInputs
AddCustomValue, AppendCustomValue, DefaultLog, getCurrentUser, GetCustomValue, getCustomValues, getKey, getSnapshotName, getStorageDomain, getStorageDomainDAO, getStorageDomainName, getStoragePool, getStoragePoolDAO, getStoragePoolId, getStoragePoolName, getUserId, getUserName, getVds, getVdsDAO, getVdsGroup, getVdsGroupDAO, getVdsGroupId, getVdsGroupName, getVdsId, getVdsIdRef, getVdsName, getVm, getVmDAO, getVmId, getVmIdRef, getVmName, getVmStaticDAO, getVmStatisticsDAO, getVmTemplate, getVmTemplateDAO, getVmTemplateId, getVmTemplateIdRef, getVmTemplateName, log, setCurrentUser, setSnapshotName, setStorageDomain, setStorageDomainId, setStoragePool, setStoragePoolId, setUserId, setUserName, setVds, setVdsGroup, setVdsGroupId, setVdsId, setVdsIdRef, setVdsName, setVm, setVmId, setVmName, setVmTemplate, setVmTemplateId, setVmTemplateName
getEndTime, getLegal, getTimeoutObjectId, getUseTimout, setEndTime, setTimeoutObjectId, setUseTimout
protected HibernateVmCommand(Guid commandId)
commandId
- public HibernateVmCommand(T parameters)
public NGuid getStorageDomainId()
getStorageDomainId
in class AuditLogableBase
protected void Perform()
Perform
in class VmOperationCommandBase<T extends HibernateVmParameters>
protected Guid ConcreteCreateTask(AsyncTaskCreationInfo asyncTaskCreationInfo, VdcActionType parentCommand)
ConcreteCreateTask
in class VmCommand<T extends HibernateVmParameters>
protected HibernateVmParameters getHibernateVmParams()
public AuditLogType getAuditLogTypeValue()
getAuditLogTypeValue
in class AuditLogableBase
protected boolean canDoAction()
canDoAction
in class CommandBase<T extends HibernateVmParameters>
protected void EndSuccessfully()
EndSuccessfully
in class VmCommand<T extends HibernateVmParameters>
protected void EndWithFailure()
EndWithFailure
in class VmCommand<T extends HibernateVmParameters>
Copyright © 2012. All Rights Reserved.