Class CreateContextDirective<S,I extends SmithyIntegration<S,?,?>>
- java.lang.Object
-
- software.amazon.smithy.codegen.core.directed.Directive<S>
-
- software.amazon.smithy.codegen.core.directed.CreateContextDirective<S,I>
-
- Type Parameters:
S- Codegen settings type.I-SmithyIntegrationtype.
public final class CreateContextDirective<S,I extends SmithyIntegration<S,?,?>> extends Directive<S>
Directive used to create aCodegenContext.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileManifestfileManifest()java.util.List<I>integrations()java.util.Map<ShapeId,Trait>supportedProtocols()Get a map of supported protocols on the service shape in the form of shape ID to the definition of the trait.SymbolProvidersymbolProvider()-
Methods inherited from class software.amazon.smithy.codegen.core.directed.Directive
connectedShapes, model, operations, service, settings
-
-
-
-
Method Detail
-
symbolProvider
public SymbolProvider symbolProvider()
- Returns:
- Returns the SymbolProvider used during codegen.
-
fileManifest
public FileManifest fileManifest()
- Returns:
- Gets the FileManifest being written to for code generation.
-
integrations
public java.util.List<I> integrations()
- Returns:
- Returns the list of Integrations used during codegen.
-
supportedProtocols
public java.util.Map<ShapeId,Trait> supportedProtocols()
Get a map of supported protocols on the service shape in the form of shape ID to the definition of the trait.- Returns:
- Returns the protocol shape IDs of the service.
- See Also:
ServiceIndex
-
-