public class BasicJcloudsLocationCustomizer extends java.lang.Object implements JcloudsLocationCustomizer
JcloudsLocationCustomizer is marked Beta.| Constructor and Description |
|---|
BasicJcloudsLocationCustomizer() |
| 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.
|
public void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, org.jclouds.compute.domain.TemplateBuilder templateBuilder)
JcloudsLocationCustomizertemplateBuilder
before it is built and immutable.customize in interface JcloudsLocationCustomizerpublic void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, org.jclouds.compute.domain.Template template)
JcloudsLocationCustomizerTemplateOptions.
This method will be called before JcloudsLocationCustomizer.customize(JcloudsLocation, ComputeService, TemplateOptions).customize in interface JcloudsLocationCustomizerpublic void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, org.jclouds.compute.options.TemplateOptions templateOptions)
JcloudsLocationCustomizerTemplateOptions that will
be used by JcloudsLocation to obtain machines.customize in interface JcloudsLocationCustomizerpublic void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, JcloudsMachineLocation machine)
JcloudsLocationCustomizerCloudLocationConfig.WAIT_FOR_SSHABLE is true the
machine is guaranteed to be SSHable when this method is called.customize in interface JcloudsLocationCustomizerpublic void preRelease(JcloudsMachineLocation machine)
JcloudsLocationCustomizerpreRelease in interface JcloudsLocationCustomizerpublic void postRelease(JcloudsMachineLocation machine)
JcloudsLocationCustomizerpostRelease in interface JcloudsLocationCustomizer@Deprecated public void customize(JcloudsLocation location, org.jclouds.compute.ComputeService computeService, JcloudsSshMachineLocation machine)
JcloudsLocationCustomizerCloudLocationConfig.WAIT_FOR_SSHABLE is true the
machine is guaranteed to be SSHable when this method is called.customize in interface JcloudsLocationCustomizer@Deprecated public void preRelease(JcloudsSshMachineLocation machine)
JcloudsLocationCustomizerpreRelease in interface JcloudsLocationCustomizer@Deprecated public void postRelease(JcloudsSshMachineLocation machine)
JcloudsLocationCustomizerpostRelease in interface JcloudsLocationCustomizer