Package ch.mobi.mobitor.plugins.api
Interface MobitorPlugin<C>
public interface MobitorPlugin<C>
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateAndAssociateApplicationInformationBlocks(Screen screen, ExtendableScreenConfig screenConfig, List<C> configs) default ScreenAttributeProviderif 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 Details
-
getConfigPropertyName
String getConfigPropertyName() -
getConfigClass
-
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
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
-