public MigrateVolumeCommand(DataTO srcData, DataTO destData, Map<String, String> srcDetails, Map<String, String> destDetails, int timeout) { this.srcData = srcData; this.destData = destData; this.srcDetails = srcDetails; this.destDetails = destDetails; setWait(timeout); }
public MigrateVolumeCommand(long volumeId, String volumePath, StoragePool pool, String attachedVmName, Volume.Type volumeType, int timeout) { this(volumeId,volumePath,pool,timeout); this.attachedVmName = attachedVmName; this.volumeType = volumeType; this.setWait(timeout); }
public MigrateVolumeCommand(long volumeId, String volumePath, StoragePool pool, int timeout) { this.volumeId = volumeId; this.volumePath = volumePath; this.pool = new StorageFilerTO(pool); this.setWait(timeout); }