Interface Section
public interface Section
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Label of well-known section "Connections"static final String
Label of well-known section "Diagnostics"static final String
Label of well-known section "Home"static final String
Label of well-known section "Network"static final String
Label of well-known section "Platform"static final String
Label of well-known section "Services" -
Method Summary
Modifier and TypeMethodDescriptionaddCategory
(String categoryKey, Consumer<Section.CategoryBuilder> build) Create a category builder to add a new (or append to an existing) category.getLabel()
-
Field Details
-
HOME
Label of well-known section "Home"- See Also:
-
PLATFORM
Label of well-known section "Platform"- See Also:
-
CONNECTIONS
Label of well-known section "Connections"- See Also:
-
NETWORK
Label of well-known section "Network"- See Also:
-
SERVICES
Label of well-known section "Services"- See Also:
-
DIAGNOSTICS
Label of well-known section "Diagnostics"- See Also:
-
-
Method Details
-
getLabel
String getLabel() -
getCategories
- Returns:
- A list of categories, ordered by their position. Categories with equal position values will be sorted alphabetically by label.
-
addCategory
Create a category builder to add a new (or append to an existing) category. The category will be added to this section (or the existing category will be updated) whenSection.CategoryBuilder.build()
is invoked.- Parameters:
categoryKey
- Key that identifies the category. If no label is further specified, will also be the display label for this category.
-