Package org.apache.juneau.console
package org.apache.juneau.console
Engine-agnostic themeable admin-console chrome:
Theme, the stock
theme stylesheets, the bundled chrome.css asset, and
ConsoleChromeMixin.
This module is CSS-serving only — it ships no template files and has no view-engine dependency. It is the module the per-engine FreeMarker (and, eventually, other) chrome add-ons build their template composition on top of.
- Since:
- 10.0.0
-
ClassDescriptionDeclares one server bridge in the page contract's
bridgeslist.Static check of a page contract's message-bus wiring: rule R-10 (every subscription has a publisher), rule R-11 (everypublisher:"server"topic rides a bridge downstream), and the E-40..E-54 and E-58 shape rules ontopics,bridges, cardpublishes/subscribesand ribbontarget/publishitems.One wiring problem.One authored card handed to aCardTypeHandler: its attributes, its raw body, and helpers to parse the body as JSON5 or capture it as a<template data-card>.Builds aCardSource.Server half of a console card type: validates an authored card and returns its page-contract fragment.The open set of server-side card type handlers.Builds aCardTypeRegistryon top of an existing one, or from scratch.Mixin that serves the admin-console chrome stylesheet at/juneau-console/chrome.css.Builder forConsoleChromeMixin.The two head insertion points for a colour-scheme-aware page.The built-inhtmlcard type: markup-only (JSON5 bodies are E-25), with an optional body auto-captured as a<template data-card="{id}">.Loadsjuneau-page.schema.jsonfrom the classpath and validates contracts against it, plus the cross-reference rules R-1..R-4 the schema cannot express.One entry of a card'ssubscribeslist: a concrete topic wired to a role the card type implements.What a subscriber does when the payload is cleared or a mapped path is missing.The validated token model behind the console's FTL<@theme>/<@token>directives: an immutable theme name, an ordered map of leaf tokens (literals) and an ordered map of alias tokens (livevar()references).Builder forTheme.A custom topic declaration, for a card'spublishesor the page's top-leveltopics.Who publishes a page-level topic.Builds framework topic names so callers do not hand-format "family:key" strings.