Interface ITypeInfoCategoryServiceProvider
-
public interface ITypeInfoCategoryServiceProvider
Interface for getting all registered type info categories
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearCacheForCategory(String name)
Clear cache ofTypeInfo
for category withname
List<ITypeInfoCategory>
getAllCategories()
Gets all registered type info categoriesITypeInfoCategory
getCategoryByName(String name)
Gets type info category by name
-
-
-
Method Detail
-
getCategoryByName
ITypeInfoCategory getCategoryByName(String name)
Gets type info category by name- Parameters:
name
- name of the type info category. Can't benull
- Returns:
- corresponding
ITypeInfoCategory
.
If the category withname
will not be found thenIllegalArgumentException
will be thrown
-
getAllCategories
List<ITypeInfoCategory> getAllCategories()
Gets all registered type info categories- Returns:
- list of
ITypeInfoCategory
or empty list, if categories haven't been found
-
clearCacheForCategory
void clearCacheForCategory(String name)
Clear cache ofTypeInfo
for category withname
- Parameters:
name
- name of the category for clearing cached values ofTypeInfo
. SeeICategoryTypeInfoCachedProvider
, can't benull
-
-