Class BuildInfo


  • public final class BuildInfo
    extends java.lang.Object
    POJO to represents a smithy-build-info.json file.
    • Constructor Detail

      • BuildInfo

        public BuildInfo()
    • Method Detail

      • getVersion

        public java.lang.String getVersion()
        Returns:
        Gets the version of the build-info file format.
      • setVersion

        public void setVersion​(java.lang.String version)
      • getProjectionName

        public java.lang.String getProjectionName()
        Returns:
        Gets the name of the projection used in this build.
      • setProjectionName

        public void setProjectionName​(java.lang.String projectionName)
      • getProjection

        public ProjectionConfig getProjection()
        Returns:
        Gets the projection configuration.
      • getValidationEvents

        public java.util.List<ValidationEvent> getValidationEvents()
        Returns:
        Gets the validation events encountered by the projection.
      • setValidationEvents

        public void setValidationEvents​(java.util.List<ValidationEvent> validationEvents)
      • getTraitNames

        public java.util.List<ShapeId> getTraitNames()
        Returns:
        Gets the shape ID of every trait used in the projected model.
      • setTraitNames

        public void setTraitNames​(java.util.List<ShapeId> traitNames)
      • getTraitDefNames

        public java.util.List<ShapeId> getTraitDefNames()
        Returns:
        Gets the shape ID of every trait shape defined in the projection.
      • setTraitDefNames

        public void setTraitDefNames​(java.util.List<ShapeId> traitDefNames)
      • getServiceShapeIds

        public java.util.List<ShapeId> getServiceShapeIds()
        Returns:
        Gets the shape ID of every service in the projection.
      • setServiceShapeIds

        public void setServiceShapeIds​(java.util.List<ShapeId> serviceShapeIds)
      • getOperationShapeIds

        public java.util.List<ShapeId> getOperationShapeIds()
        Returns:
        Gets the shape ID of every operation in the projection.
      • setOperationShapeIds

        public void setOperationShapeIds​(java.util.List<ShapeId> operationShapeIds)
      • getResourceShapeIds

        public java.util.List<ShapeId> getResourceShapeIds()
        Returns:
        Gets the shape ID of every resource in the projection.
      • setResourceShapeIds

        public void setResourceShapeIds​(java.util.List<ShapeId> resourceShapeIds)
      • getMetadata

        public java.util.Map<java.lang.String,​Node> getMetadata()
        Returns:
        Gets the model metadata in the projection.
      • setMetadata

        public void setMetadata​(java.util.Map<java.lang.String,​Node> metadata)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object