Class PacketComputeServiceContextModule
java.lang.Object
com.google.inject.AbstractModule
org.jclouds.compute.config.BaseComputeServiceContextModule
org.jclouds.compute.config.ComputeServiceAdapterContextModule<Device,Plan,OperatingSystem,Facility>
org.jclouds.packet.compute.config.PacketComputeServiceContextModule
- All Implemented Interfaces:
com.google.inject.Module
public class PacketComputeServiceContextModule
extends ComputeServiceAdapterContextModule<Device,Plan,OperatingSystem,Facility>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H, I, L> Nested classes/interfaces inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected com.google.common.base.Predicate<String> provideDeviceRunningPredicate(PacketApi api, com.google.common.base.Supplier<Credentials> creds, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod pollPeriod) protected com.google.common.base.Predicate<String> provideDeviceSuspendedPredicate(PacketApi api, com.google.common.base.Supplier<Credentials> creds, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod pollPeriod) protected com.google.common.base.Predicate<String> provideDeviceTerminatedPredicate(PacketApi api, com.google.common.base.Supplier<Credentials> creds, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod pollPeriod) Methods inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImagesMethods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
bindCredentialsOverriderFunction, guiceProvideImageExtension, guiceProvideSecurityGroupExtension, guiceProvideTemplateOptions, indexer, osFamilyToCredentials, provideImageExtension, provideImageMap, provideOsFamilyToCredentials, provideOsVersionMap, provideSecurityGroupExtension, provideSizeMap, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldEagerlyParseImages, supplyImageCache, supplyNonParsingImages, supplySizeCacheMethods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
PacketComputeServiceContextModule
public PacketComputeServiceContextModule()
-
-
Method Details
-
configure
protected void configure()- Overrides:
configurein classBaseComputeServiceContextModule
-
provideDeviceRunningPredicate
@Provides protected com.google.common.base.Predicate<String> provideDeviceRunningPredicate(PacketApi api, com.google.common.base.Supplier<Credentials> creds, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod pollPeriod) -
provideDeviceSuspendedPredicate
@Provides protected com.google.common.base.Predicate<String> provideDeviceSuspendedPredicate(PacketApi api, com.google.common.base.Supplier<Credentials> creds, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod pollPeriod) -
provideDeviceTerminatedPredicate
@Provides protected com.google.common.base.Predicate<String> provideDeviceTerminatedPredicate(PacketApi api, com.google.common.base.Supplier<Credentials> creds, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod pollPeriod)
-