Class BuildInfo
java.lang.Object
software.amazon.smithy.build.plugins.BuildInfo
POJO to represents a smithy-build-info.json file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetMetadata(Map<String, Node> metadata) voidsetOperationShapeIds(List<ShapeId> operationShapeIds) voidsetProjection(ProjectionConfig projection) voidsetProjectionName(String projectionName) voidsetResourceShapeIds(List<ShapeId> resourceShapeIds) voidsetServiceShapeIds(List<ShapeId> serviceShapeIds) voidsetTraitDefNames(List<ShapeId> traitDefNames) voidsetTraitNames(List<ShapeId> traitNames) voidsetValidationEvents(List<ValidationEvent> validationEvents) voidsetVersion(String version)
-
Constructor Details
-
BuildInfo
public BuildInfo()
-
-
Method Details
-
getVersion
- Returns:
- Gets the version of the build-info file format.
-
setVersion
-
getProjectionName
- Returns:
- Gets the name of the projection used in this build.
-
setProjectionName
-
getProjection
- Returns:
- Gets the projection configuration.
-
setProjection
-
getValidationEvents
- Returns:
- Gets the validation events encountered by the projection.
-
setValidationEvents
-
getTraitNames
- Returns:
- Gets the shape ID of every trait used in the projected model.
-
setTraitNames
-
getTraitDefNames
- Returns:
- Gets the shape ID of every trait shape defined in the projection.
-
setTraitDefNames
-
getServiceShapeIds
- Returns:
- Gets the shape ID of every service in the projection.
-
setServiceShapeIds
-
getOperationShapeIds
- Returns:
- Gets the shape ID of every operation in the projection.
-
setOperationShapeIds
-
getResourceShapeIds
- Returns:
- Gets the shape ID of every resource in the projection.
-
setResourceShapeIds
-
getMetadata
- Returns:
- Gets the model metadata in the projection.
-
setMetadata
-
equals
-
hashCode
public int hashCode()
-