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, java.util.List<C> configs)java.lang.Class<C>getConfigClass()java.lang.StringgetConfigPropertyName()java.util.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
java.lang.String getConfigPropertyName()
-
getConfigClass
java.lang.Class<C> getConfigClass()
-
createAndAssociateApplicationInformationBlocks
void createAndAssociateApplicationInformationBlocks(Screen screen, ExtendableScreenConfig screenConfig, java.util.List<C> configs)
-
getLegendApplicationInformationList
java.util.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
-
-