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 ResultResultFactory. create(String name, String description)Returns a result indicating that the component has a problem.ResultResultFactory. create(String name, String description, ResultCategory category)Returns a result indicating that the component has a problem.ResultResultFactory. create(String name, String description, Collection<ResultCategory> categories)Returns a result indicating that the component has a problem.ResultResult. withCategories(Collection<? extends ResultCategory> categories)Deprecated.This method is deprecated as only one category can be assigned to a result.ResultResult. withCategory(ResultCategory category)Returns a copy of this result but assigned to the specified category.ResultResult. withCustomUniqueKey(String uniqueKey)Returns a copy of this result with the unique key identifying it replaced by a custom one.ResultResult. withInvolvedComponent(Component component)Returns a copy of this result with the specified involved component added.ResultResult. withInvolvedComponents(Collection<? extends Component> component)Returns a copy of this result with the specified involved component added.ResultResult. withLocation(String location)Returns a copy of this result with a descriptive location information.ResultResult. withReplacedVisualization(Consumer<Visualization> visualizationCreator)Returns a copy of this result with the specified visualization creator replacing the default one and any other previously set.ResultResult. withSeverity(Severity severity)Returns a copy of this result with the specified severity.ResultResult. 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 voidCheckingSelection. fail(Component component, Result result)Mark a component as checked and register a failure described by the specifiedResult.voidCheckingSelection. 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 CheckingResultsViewRowCheckingResultsViewRow. create(Result result)static CheckingResultsViewRowCheckingResultsViewRow. create(Result result, Component component)