Package | Description |
---|---|
com.solibri.smc.api.checking |
Modifier and Type | Method and Description |
---|---|
Result |
ResultFactory.create(String name,
String description)
Returns a result indicating that the component has a problem.
|
Result |
ResultFactory.create(String name,
String description,
Collection<ResultCategory> categories)
Returns a result indicating that the component has a problem.
|
Result |
ResultFactory.create(String name,
String description,
ResultCategory category)
Returns a result indicating that the component has a problem.
|
Result |
Result.withCategories(Collection<? extends ResultCategory> categories)
Returns a copy of this result but assigned to the specified categories.
|
Result |
Result.withCategory(ResultCategory category)
Returns a copy of this result but assigned to the specified category.
|
Result |
Result.withCustomUniqueKey(String uniqueKey)
Returns a copy of this result with the unique key identifying it replaced by a custom one.
|
Result |
Result.withInvolvedComponent(Component component)
Returns a copy of this result with the specified involved component added.
|
Result |
Result.withInvolvedComponents(Collection<? extends Component> component)
Returns a copy of this result with the specified involved component added.
|
Result |
Result.withLocation(String location)
Returns a copy of this result with a descriptive location information.
|
Result |
Result.withReplacedVisualization(Consumer<Visualization> visualizationCreator)
Returns a copy of this result with the specified visualization creator replacing the default one and any other
previously set.
|
Result |
Result.withSeverity(Severity severity)
Returns a copy of this result with the specified severity.
|
Result |
Result.withVisualization(Consumer<Visualization> visualizationCreator)
Returns a copy of this result with the specified visualization creator added.
|
Modifier and Type | Method and Description |
---|---|
abstract Collection<Result> |
OneByOneRule.check(Component component,
ResultFactory resultFactory)
Called once for each component to be checked.
|
Modifier and Type | Method and Description |
---|---|
void |
CheckingSelection.fail(Collection<? extends Component> components,
Result result)
Mark the specified components as checked and register a failure described by the specified
Result . |
void |
CheckingSelection.fail(Component component,
Result result)
Mark a component as checked and register a failure described by the specified
Result . |
Copyright © 2019 Solibri, Inc.. All rights reserved.