public final class ProjectionResult
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ProjectionResult.Builder
Builds up a
ProjectionResult . |
Modifier and Type | Method and Description |
---|---|
static ProjectionResult.Builder |
builder()
Creates a
ProjectionResult builder. |
java.util.List<ValidationEvent> |
getEvents()
Gets the validation events encountered after projecting the model.
|
Model |
getModel()
Gets the result of projecting the model.
|
java.util.Optional<FileManifest> |
getPluginManifest(java.lang.String pluginName)
Gets the result of a specific plugin.
|
java.util.Map<java.lang.String,FileManifest> |
getPluginManifests()
Gets the results of each plugin.
|
java.lang.String |
getProjectionName()
Gets the name of the projection that was executed.
|
boolean |
isBroken()
Returns true if the projection contains error or danger events.
|
public static ProjectionResult.Builder builder()
ProjectionResult
builder.public java.lang.String getProjectionName()
public Model getModel()
public boolean isBroken()
public java.util.List<ValidationEvent> getEvents()
public java.util.Map<java.lang.String,FileManifest> getPluginManifests()
public java.util.Optional<FileManifest> getPluginManifest(java.lang.String pluginName)
pluginName
- Name of the plugin to retrieve.