Uses of Interface
com.solibri.smc.api.checking.Result
Package | Description |
---|---|
com.solibri.smc.api.checking | |
com.solibri.smc.api.communication | |
com.solibri.smc.api.ui.views.checkingresults |
-
Uses of Result in com.solibri.smc.api.checking
Methods in com.solibri.smc.api.checking that return Result Modifier and Type Method 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, ResultCategory category)
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
Result. withCategories(Collection<? extends ResultCategory> categories)
Deprecated.This method is deprecated as only one category can be assigned to a result.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.Methods in com.solibri.smc.api.checking that return types with arguments of type Result Modifier and Type Method Description abstract Collection<Result>
ConcurrentRule. check(Component component, ResultFactory resultFactory)
Called once for each component to be checked.abstract Collection<Result>
OneByOneRule. check(Component component, ResultFactory resultFactory)
Called once for each component to be checked.Set<Result>
ResultCategory. getAllResults()
Returns all the results directly under this category or any child categories of any degree of nesting.Collection<Result>
Checking. getResults()
Returns results of the checking.Collection<Result>
Checking. getResults(Rule rule)
Returns results of the checking for a givenRule
.Set<Result>
ResultCategory. getResults()
Returns all the results directly under this category.Methods in com.solibri.smc.api.checking with parameters of type Result Modifier and Type Method Description void
CheckingSelection. fail(Component component, Result result)
Mark a component as checked and register a failure described by the specifiedResult
.void
CheckingSelection. fail(Collection<? extends Component> components, Result result)
Mark the specified components as checked and register a failure described by the specifiedResult
. -
Uses of Result in com.solibri.smc.api.communication
Methods in com.solibri.smc.api.communication that return types with arguments of type Result Modifier and Type Method Description Optional<Result>
Slide. getCheckingResult()
Returns the checking result this slide is based on, if it is based on a checking result.Optional<Pair<Result,Component>>
Slide. getResultAndComponent()
Get the source result and component pair. -
Uses of Result in com.solibri.smc.api.ui.views.checkingresults
Methods in com.solibri.smc.api.ui.views.checkingresults that return types with arguments of type Result Modifier and Type Method Description Optional<Result>
CheckingResultsViewRow. getResult()
Returns the checking result.Methods in com.solibri.smc.api.ui.views.checkingresults with parameters of type Result Modifier and Type Method Description static CheckingResultsViewRow
CheckingResultsViewRow. create(Result result)
static CheckingResultsViewRow
CheckingResultsViewRow. create(Result result, Component component)