public abstract class VmOperationCommandBase<T extends VmOperationParameterBase> extends VmCommand<T>
MAX_NETWORK_INTERFACES_SUPPORTEDBYTES_IN_GB| Modifier | Constructor and Description |
|---|---|
protected |
VmOperationCommandBase(Guid commandId)
Constructor for command creation when compensation is applied on startup
|
|
VmOperationCommandBase(T parameters) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ExecuteVmCommand() |
protected boolean |
GetRunningOnVds()
This method checks if the virtual machine is running in some host.
|
protected abstract void |
Perform() |
CheckPCIAndIDELimit, ConcreteCreateTask, EndActionOnDisks, EndSuccessfully, EndVmCommand, EndWithFailure, executeCommand, getBlockSparseInitSizeInGB, getChildActionType, getDescription, getNeededDiskSize, getPermissionCheckSubjects, GetTagsAttachedToObject, handleCustomPropertiesError, HandleHibernatedVm, isVmNameValidLength, lockVmWithCompensationIfNeeded, RemoveVmDynamic, RemoveVmInSpm, RemoveVmInSpm, RemoveVmNetwork, RemoveVmStatic, RemoveVmStatistics, RemoveVmUsers, UpdateVmInSpm, UpdateVmInSpm, validateNumberOfNicsacquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, canDoAction, 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, validateInputsAddCustomValue, AppendCustomValue, DefaultLog, getAuditLogTypeValue, getCurrentUser, GetCustomValue, getCustomValues, getKey, getSnapshotName, getStorageDomain, getStorageDomainDAO, getStorageDomainId, 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, setVmTemplateNamegetEndTime, getLegal, getTimeoutObjectId, getUseTimout, setEndTime, setTimeoutObjectId, setUseTimoutprotected VmOperationCommandBase(Guid commandId)
commandId - public VmOperationCommandBase(T parameters)
protected void ExecuteVmCommand()
ExecuteVmCommand in class VmCommand<T extends VmOperationParameterBase>protected boolean GetRunningOnVds()
true if the virtual machine is running in a any host,
false otherwiseprotected abstract void Perform()
Copyright © 2012. All Rights Reserved.