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 Constructor Description PacketComputeServiceContextModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
protected 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, provideImages
-
Methods 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, supplySizeCache
-
Methods 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
-
-
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configure
in 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)
-
-