Package org.openhab.core.config.core
Class ConfigDescriptionParameterGroup
java.lang.Object
org.openhab.core.config.core.ConfigDescriptionParameterGroup
The
ConfigDescriptionParameterGroup
specifies information about parameter groups.
A parameter group is used to group a number of parameters together so they can
be displayed together in the UI (eg in a single tab).
A ConfigDescriptionParameter
instance must also contain the groupName. It should be permissible to use the
groupId in the ConfigDescriptionParameter
without supplying a corresponding
ConfigDescriptionParameterGroup
- in this way the UI can group the parameters together, but doesn't have the
group information.
- Author:
- Chris Jackson - Initial contribution
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
Get the context of the group.@Nullable String
Get the human readable description of the parameter group@Nullable String
getLabel()
Get the human readable label of the groupgetName()
Get the name of the group.boolean
Gets the advanced flag for this group.toString()
-
Method Details
-
getName
Get the name of the group.- Returns:
- groupName as string
-
getContext
Get the context of the group.- Returns:
- group context as a string
-
isAdvanced
public boolean isAdvanced()Gets the advanced flag for this group.- Returns:
- advanced flag - true if the group contains advanced properties
-
getLabel
Get the human readable label of the group- Returns:
- group label as a string
-
getDescription
Get the human readable description of the parameter group- Returns:
- group description as a string
-
toString
-