@Beta
public interface JcloudsLocationCustomizer
ConfigBag
being used to obtain a machine by the
JcloudsLocation
if such a constructor exists. If not, the default no argument constructor
will be invoked.Modifier and Type | Method and Description |
---|---|
void |
customize(JcloudsLocation location,
org.jclouds.compute.ComputeService computeService,
JcloudsSshMachineLocation machine)
Override to configure the given machine once it has been created and started by Jclouds.
|
void |
customize(JcloudsLocation location,
org.jclouds.compute.ComputeService computeService,
org.jclouds.compute.domain.Template template)
Override to configure a subclass of this with the built template, or to configure the built
template's
TemplateOptions . |
void |
customize(JcloudsLocation location,
org.jclouds.compute.ComputeService computeService,
org.jclouds.compute.domain.TemplateBuilder templateBuilder)
Override to configure
templateBuilder
before it is built and immutable. |
void |
customize(JcloudsLocation location,
org.jclouds.compute.ComputeService computeService,
org.jclouds.compute.options.TemplateOptions templateOptions)
Override to configure the
TemplateOptions that will
be used by JcloudsLocation to obtain machines. |
void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, org.jclouds.compute.domain.TemplateBuilder templateBuilder)
templateBuilder
before it is built and immutable.void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, org.jclouds.compute.domain.Template template)
TemplateOptions
.
This method will be called before customize(JcloudsLocation, ComputeService, TemplateOptions)
.void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, org.jclouds.compute.options.TemplateOptions templateOptions)
TemplateOptions
that will
be used by JcloudsLocation
to obtain machines.void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, JcloudsSshMachineLocation machine)
CloudLocationConfig.WAIT_FOR_SSHABLE
is true the
machine is guaranteed to be SSHable when this method is called.