public class BasicNetworkOptionsConverter extends Object implements OptionsConverter
Constructor and Description |
---|
BasicNetworkOptionsConverter() |
Modifier and Type | Method and Description |
---|---|
DeployVirtualMachineOptions |
apply(CloudStackTemplateOptions templateOptions,
Map<String,Network> networks,
String zoneId,
DeployVirtualMachineOptions options)
Convert a CloudStackTemplateOptions and apply to a DeployVirtualMachineOptions instance.
|
public DeployVirtualMachineOptions apply(CloudStackTemplateOptions templateOptions, Map<String,Network> networks, String zoneId, DeployVirtualMachineOptions options)
OptionsConverter
apply
in interface OptionsConverter
templateOptions
- the input set of optionsnetworks
- the networks availablezoneId
- the zone of the new virtual machineoptions
- where the resulting set of options will be appliedCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.