Package org.apache.juneau.console
Class Topics
java.lang.Object
org.apache.juneau.console.Topics
Builds framework topic names so callers do not hand-format "family:key" strings.
Example:
Topics.
- Since:
- 10.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe framework families, in the orderJuneauViews.bus.FRAMEWORK_FAMILIESlists them (pinned by a test).static final PatternThe card and dashboard-section id grammar ($defs/idin the page schema). -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic booleanTests the topic-key grammar (the part afterfamily:).static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic String
-
Field Details
-
FRAMEWORK_FAMILIES
The framework families, in the orderJuneauViews.bus.FRAMEWORK_FAMILIESlists them (pinned by a test). -
ID
The card and dashboard-section id grammar ($defs/idin the page schema).
-
-
Method Details
-
card
- Parameters:
cardId- The card id. @returncard:<cardId>.
-
selection
- Parameters:
cardId- The card id. @returnselection:<cardId>.
-
filter
- Parameters:
cardId- The card id. @returnfilter:<cardId>.
-
redraw
- Parameters:
cardId- The card id. @returnredraw:<cardId>.
-
detail
- Parameters:
cardId- The card id. @returndetail:<cardId>.
-
bulk
- Parameters:
cardId- The card id. @returnbulk:<cardId>.
-
cmd
- Parameters:
cardId- The card id. @returncmd:<cardId>.
-
probe
- Parameters:
groupId- The probe group id. @returnprobe:<groupId>.
-
job
- Parameters:
jobId- The async job id. @returnjob:<jobId>.
-
badge
- Parameters:
badgeId- The badge id. @returnbadge:<badgeId>.
-
bridge
- Parameters:
bridgeId- The bridge id. @returnbridge:<bridgeId>.
-
data
- Parameters:
source- The data source name. @returndata:<source>.
-
zoom
- Parameters:
cardId- The chart card id. @returnzoom:<cardId>.
-
legend
- Parameters:
cardId- The chart card id. @returnlegend:<cardId>.
-
custom
- Parameters:
ns- The namespace, for examplessc.name- The name within it, for examplefocus.- Returns:
ns.name.- Throws:
IllegalArgumentException- E-45 whennsis blank; E-40 when a part is malformed.
-
custom
- Parameters:
ns- The namespace.name- The name within it.key- The key, or*for a declaration pattern.- Returns:
ns.name:key.- Throws:
IllegalArgumentException- E-45 / E-40 as forcustom(String, String), or E-40 on a bad key.
-
isKey
Tests the topic-key grammar (the part afterfamily:).- Parameters:
key- The key, ornull .- Returns:
true ifkeyis a valid topic key.
-