Package ch.mobi.mobitor.plugins.api
Interface MobitorPlugin<C>
-
public interface MobitorPlugin<C>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidcreateAndAssociateApplicationInformationBlocks(Screen screen, ExtendableScreenConfig screenConfig, List<C> configs)Class<C>getConfigClass()StringgetConfigPropertyName()List<ApplicationInformationLegendWrapper>getLegendApplicationInformationList()default ScreenAttributeProvidergetScreenAttributeProvider()if the application information contains configuration settings, a plugin can provide aScreenAttributeProviderto pass attributes to the screen so they can be used within the html template.
-
-
-
Method Detail
-
getConfigPropertyName
String getConfigPropertyName()
-
createAndAssociateApplicationInformationBlocks
void createAndAssociateApplicationInformationBlocks(Screen screen, ExtendableScreenConfig screenConfig, List<C> configs)
-
getLegendApplicationInformationList
List<ApplicationInformationLegendWrapper> getLegendApplicationInformationList()
- Returns:
- a list example application information instances used for the legend shown per plugin on the legend page
-
getScreenAttributeProvider
default ScreenAttributeProvider getScreenAttributeProvider()
if the application information contains configuration settings, a plugin can provide aScreenAttributeProviderto pass attributes to the screen so they can be used within the html template.- Returns:
- a default
ScreenAttributeProviderthat returns an empty map
-
-