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
-SmithyIntegration
type.
public final class CreateContextDirective<S,I extends SmithyIntegration<S,?,?>>
extends Directive<S>
Directive used to create a
CodegenContext
.-
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.smithy.build.FileManifest
Map<software.amazon.smithy.model.shapes.ShapeId,
software.amazon.smithy.model.traits.Trait> Get a map of supported protocols on the service shape in the form of shape ID to the definition of the trait.Methods inherited from class software.amazon.smithy.codegen.core.directed.Directive
connectedShapes, model, operations, service, settings
-
Method Details
-
symbolProvider
- Returns:
- Returns the SymbolProvider used during codegen.
-
fileManifest
public software.amazon.smithy.build.FileManifest fileManifest()- Returns:
- Gets the FileManifest being written to for code generation.
-
integrations
- Returns:
- Returns the list of Integrations used during codegen.
-
supportedProtocols
public Map<software.amazon.smithy.model.shapes.ShapeId,software.amazon.smithy.model.traits.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
-