Class BuildInfo
java.lang.Object
software.amazon.smithy.build.plugins.BuildInfo
POJO to represents a smithy-build-info.json file.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
setMetadata
(Map<String, Node> metadata) void
setOperationShapeIds
(List<ShapeId> operationShapeIds) void
setProjection
(ProjectionConfig projection) void
setProjectionName
(String projectionName) void
setResourceShapeIds
(List<ShapeId> resourceShapeIds) void
setServiceShapeIds
(List<ShapeId> serviceShapeIds) void
setTraitDefNames
(List<ShapeId> traitDefNames) void
setTraitNames
(List<ShapeId> traitNames) void
setValidationEvents
(List<ValidationEvent> validationEvents) void
setVersion
(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()
-