public class AddVdsCommand<T extends AddVdsActionParameters> extends VdsCommand<T>
BYTES_IN_GB
Modifier | Constructor and Description |
---|---|
protected |
AddVdsCommand(Guid commandId)
Constructor for command creation when compensation is applied on startup
|
|
AddVdsCommand(T parametars) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canDoAction() |
protected void |
executeCommand() |
AuditLogType |
getAuditLogTypeValue() |
Map<Guid,VdcObjectType> |
getPermissionCheckSubjects()
Permissions are attached to object so every command must declare its
object target type and its GUID
|
protected List<Class<?>> |
getValidationGroups() |
VdsInstallHelper |
getVdsInstallHelper() |
AlertIfPowerManagementNotConfigured, AlertIfPowerManagementOperationFailed, AlertIfPowerManagementOperationSkipped, getDescription, InitializeVds, IsPowerManagementLegal, LogSettingVmToDown, RunSleepOnReboot, TestVdsPowerManagementStatus
acquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, CanDoActionOnly, compensate, ConcreteCreateTask, CreateReturnValue, CreateTask, EndAction, endActionInTransactionScope, EndSuccessfully, EndWithFailure, ExecuteAction, freeLock, getActionReturnValue, getActionState, getActionType, getBusinessEntitySnapshotDAO, getCommandShouldBeLogged, getCompensationContext, getNow, getObjectLockingId, getParameters, getParametersForTask, getReturnValue, getSucceeded, GetTagsAttachedToObject, getTaskIdList, getTransactionScopeOption, getTransactionTimeout, 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, 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, setVmTemplateName
getEndTime, getLegal, getTimeoutObjectId, getUseTimout, setEndTime, setTimeoutObjectId, setUseTimout
protected AddVdsCommand(Guid commandId)
commandId
- public AddVdsCommand(T parametars)
protected void executeCommand()
executeCommand
in class CommandBase<T extends AddVdsActionParameters>
public AuditLogType getAuditLogTypeValue()
getAuditLogTypeValue
in class AuditLogableBase
protected boolean canDoAction()
canDoAction
in class CommandBase<T extends AddVdsActionParameters>
public VdsInstallHelper getVdsInstallHelper()
public Map<Guid,VdcObjectType> getPermissionCheckSubjects()
CommandBase
getPermissionCheckSubjects
in class VdsCommand<T extends AddVdsActionParameters>
protected List<Class<?>> getValidationGroups()
getValidationGroups
in class CommandBase<T extends AddVdsActionParameters>
Copyright © 2012. All Rights Reserved.