public final class SmithyBuildResult
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SmithyBuildResult.Builder
Creates a SmithyBuildResult.
|
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<java.nio.file.Path> |
allArtifacts()
Gets all of the artifacts written during the build.
|
java.util.stream.Stream<FileManifest> |
allManifests()
Gets all of the manifests that were used in the build.
|
boolean |
anyBroken()
Returns true if any projected models contain error or danger events.
|
static SmithyBuildResult.Builder |
builder()
Creates a builder used to build SmithyBuildResult.
|
java.util.Optional<ProjectionResult> |
getProjectionResult(java.lang.String projectionName)
Gets a projection result by name.
|
java.util.List<ProjectionResult> |
getProjectionResults()
Gets all of the projection results as an unmodifiable list.
|
java.util.Map<java.lang.String,ProjectionResult> |
getProjectionResultsMap()
Gets all of the projection results as a map of projection name to
ProjectionResult . |
boolean |
isEmpty()
Checks if the results is empty.
|
int |
size()
Gets the number of projection results in the map.
|
public static SmithyBuildResult.Builder builder()
public boolean anyBroken()
public java.util.stream.Stream<java.nio.file.Path> allArtifacts()
public java.util.stream.Stream<FileManifest> allManifests()
public java.util.Optional<ProjectionResult> getProjectionResult(java.lang.String projectionName)
projectionName
- ProjectionConfig name to get.public java.util.List<ProjectionResult> getProjectionResults()
public java.util.Map<java.lang.String,ProjectionResult> getProjectionResultsMap()
ProjectionResult
.public int size()
public boolean isEmpty()