Class Directive<S>
- java.lang.Object
- 
- software.amazon.smithy.codegen.core.directed.Directive<S>
 
- 
- Type Parameters:
- S- Settings object used to configure code generation.
 - Direct Known Subclasses:
- ContextualDirective,- CreateContextDirective,- CreateSymbolProviderDirective
 
 public abstract class Directive<S> extends java.lang.ObjectDirective classes contain all of the context needed in order to perform the tasks defined in aDirectedCodegenimplementation.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<ShapeId,Shape>connectedShapes()Modelmodel()java.util.Set<OperationShape>operations()Gets a set of all operation shapes in the service, sorted by name.ServiceShapeservice()Ssettings()
 
- 
- 
- 
Method Detail- 
modelpublic final Model model() - Returns:
- Gets the model being code generated.
 
 - 
settingspublic final S settings() - Returns:
- Gets code generation settings.
 
 - 
servicepublic final ServiceShape service() - Returns:
- Gets the service being generated.
 
 - 
connectedShapespublic final java.util.Map<ShapeId,Shape> connectedShapes() - Returns:
- Returns a map of shapes connected to the service.
 
 - 
operationspublic java.util.Set<OperationShape> operations() Gets a set of all operation shapes in the service, sorted by name.This includes operations contained in resources in the closure of the service. - Returns:
- Returns all sorted service operations.
 
 
- 
 
-