Modifier and Type | Field and Description |
---|---|
protected String |
ns |
protected String |
schema |
Constructor and Description |
---|
BindCloneVAppParamsToXmlPayload(BindToStringPayload stringBinder,
String ns,
String schema) |
Modifier and Type | Method and Description |
---|---|
<R extends HttpRequest> |
bindToRequest(R request,
Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified.
|
<R extends HttpRequest> |
bindToRequest(R request,
Object input) |
protected com.jamesmurty.utils.XMLBuilder |
buildRoot(String name,
boolean deploy,
boolean powerOn) |
protected CloneVAppOptions |
findOptionsInArgsOrNull(GeneratedHttpRequest gRequest) |
protected String |
generateXml(String newName,
String vApp,
CloneVAppOptions options) |
protected String |
ifNullDefaultTo(String value,
String defaultValue) |
@Inject public BindCloneVAppParamsToXmlPayload(BindToStringPayload stringBinder, @Named(value="jclouds.vcloud.xml.ns") String ns, @Named(value="jclouds.vcloud.xml.schema") String schema)
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinder
bindToRequest
in interface MapBinder
PayloadParam
protected com.jamesmurty.utils.XMLBuilder buildRoot(String name, boolean deploy, boolean powerOn) throws ParserConfigurationException, FactoryConfigurationError
protected String generateXml(String newName, String vApp, CloneVAppOptions options) throws ParserConfigurationException, FactoryConfigurationError, TransformerException
protected CloneVAppOptions findOptionsInArgsOrNull(GeneratedHttpRequest gRequest)
public <R extends HttpRequest> R bindToRequest(R request, Object input)
bindToRequest
in interface Binder
Copyright © 2009-2013 jclouds. All Rights Reserved.