public interface ResultFactory
| Modifier and Type | Method and Description |
|---|---|
Result |
create(String name,
String description)
Returns a result indicating that the component has a problem.
|
Result |
create(String name,
String description,
Collection<ResultCategory> categories)
Returns a result indicating that the component has a problem.
|
Result |
create(String name,
String description,
ResultCategory category)
Returns a result indicating that the component has a problem.
|
ResultCategory |
createCategory(String uniqueName,
String displayName)
Creates a new checking result category.
|
ResultCategory createCategory(String uniqueName, String displayName)
uniqueName - the unique name identifying a categorydisplayName - the display name of the categoryResult create(String name, String description)
name - the name of the resultdescription - the description of the resultResult create(String name, String description, ResultCategory category)
name - the name of the resultdescription - the description of the resultcategory - the category this result will belong toResult create(String name, String description, Collection<ResultCategory> categories)
name - the name of the resultdescription - the description of the resultcategories - the categories this result will belong toCopyright © 2019 Solibri, Inc.. All rights reserved.