Class RestApiModule.CreateViewBinder<C extends RestResource>
java.lang.Object
com.google.gerrit.extensions.restapi.RestApiModule.CreateViewBinder<C>
- Enclosing class:
RestApiModule
-
Method Summary
Modifier and TypeMethodDescription<P extends RestResource,
T extends RestCollectionCreateView<P, C, ?>>
com.google.inject.binder.ScopedBindingBuilder<P extends RestResource,
T extends RestCollectionCreateView<P, C, ?>>
voidtoInstance
(T impl) <P extends RestResource,
T extends RestCollectionCreateView<P, C, ?>>
com.google.inject.binder.ScopedBindingBuildertoProvider
(com.google.inject.Provider<? extends T> provider) <P extends RestResource,
T extends RestCollectionCreateView<P, C, ?>>
com.google.inject.binder.ScopedBindingBuildertoProvider
(Class<? extends com.google.inject.Provider<? extends T>> providerType)
-
Method Details
-
to
@CanIgnoreReturnValue public <P extends RestResource,T extends RestCollectionCreateView<P, com.google.inject.binder.ScopedBindingBuilder toC, ?>> (Class<T> impl) -
toInstance
public <P extends RestResource,T extends RestCollectionCreateView<P, void toInstanceC, ?>> (T impl) -
toProvider
@CanIgnoreReturnValue public <P extends RestResource,T extends RestCollectionCreateView<P, com.google.inject.binder.ScopedBindingBuilder toProviderC, ?>> (Class<? extends com.google.inject.Provider<? extends T>> providerType) -
toProvider
@CanIgnoreReturnValue public <P extends RestResource,T extends RestCollectionCreateView<P, com.google.inject.binder.ScopedBindingBuilder toProviderC, ?>> (com.google.inject.Provider<? extends T> provider)
-