Class HelpBundles
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.help.bundles.HelpBundles
- All Implemented Interfaces:
MetaDataProducerOutput,QMetaDataObject,QSupplementalInstanceMetaData,TopLevelMetaDataInterface,Serializable
Classpath help bundles in registration order, with deterministic precedence.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA help row's unique address.static final recordWinning text and its provenance. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRegistered bundles in precedence tie order.getName()Supplemental metadata name.Setting resolvers in registration order.static HelpBundleload(String resource, ClassLoader loader) Load independently of registration; report the resource on every failure.static HelpBundlesObtain the instance's registry.static voidRegister using the context class loader, falling back to core's loader.static voidregister(QInstance instance, String resource, ClassLoader loader) Register with the caller's loader when the host uses isolated class loaders.Resolve one winner for each key and role.static voidsyncOnStartup(QInstance instance) Start after loadHelpContent; startup and the caller's session are unaffected.static voidvalidateEntry(HelpBundleEntry entry) Validate the grammar without requiring optional provider metadata to exist.withValueProvider(HelpValueProvider provider) Register a host or qbit setting resolver.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.backend.core.model.metadata.QSupplementalInstanceMetaData
addSelfToInstance, enrich, validate
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
HelpBundles
public HelpBundles()
-
-
Method Details
-
getName
Supplemental metadata name.- Specified by:
getNamein interfaceTopLevelMetaDataInterface
-
of
Obtain the instance's registry. -
register
-
register
Register with the caller's loader when the host uses isolated class loaders. -
load
Load independently of registration; report the resource on every failure. -
validateEntry
Validate the grammar without requiring optional provider metadata to exist. -
getBundles
Registered bundles in precedence tie order. -
resolveWinningEntries
Resolve one winner for each key and role. Later peers override earlier peers. -
withValueProvider
Register a host or qbit setting resolver. -
getValueProviders
Setting resolvers in registration order. -
syncOnStartup
Start after loadHelpContent; startup and the caller's session are unaffected.
-