@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,
JcloudsMachineLocation 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,
JcloudsSshMachineLocation machine)
Deprecated.
|
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 |
postRelease(JcloudsMachineLocation machine)
Override to handle machine-related cleanup after Jclouds is called to release (destroy) the machine.
|
void |
postRelease(JcloudsSshMachineLocation machine)
Deprecated.
|
void |
preRelease(JcloudsMachineLocation machine)
Override to handle machine-related cleanup before Jclouds is called to release (destroy) the machine.
|
void |
preRelease(JcloudsSshMachineLocation machine)
Deprecated.
|
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.@Deprecated 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.customize(JcloudsLocation, ComputeService, JcloudsMachineLocation)
@Deprecated void preRelease(JcloudsSshMachineLocation machine)
preRelease(JcloudsMachineLocation)
@Deprecated void postRelease(JcloudsSshMachineLocation machine)
#postRelesae(JcloudsMachineLocation)
void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, JcloudsMachineLocation machine)
CloudLocationConfig.WAIT_FOR_SSHABLE
is true the
machine is guaranteed to be SSHable when this method is called.void preRelease(JcloudsMachineLocation machine)
void postRelease(JcloudsMachineLocation machine)