Class DeveloperPanelsMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.model.developer.DeveloperPanelsMetaData
- All Implemented Interfaces:
MetaDataProducerOutput,QMetaDataObject,QSupplementalInstanceMetaData,TopLevelMetaDataInterface,Serializable
Instance-level registry of the
DeveloperPanelProviderInterfaces
that contribute panels to records' developer views. It is supplemental
meta-data, so any module or qbit can add to it; it is not sent to frontends
(the panels themselves are, by the record developer panels endpoint).- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Getter for providersstatic DeveloperPanelsMetaDataGet the instance's registry, or null when nothing registered a provider.static DeveloperPanelsMetaDataofOrWithNew(QInstance qInstance) Get the instance's registry, adding an empty one if it has none.voidsetProviders(List<QCodeReference> providers) Setter for providersvoidvalidate(QInstance qInstance, QInstanceValidator validator) Every provider must name a class that implements the provider interface.withProvider(QCodeReference provider) Register a provider class.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
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
DeveloperPanelsMetaData
public DeveloperPanelsMetaData()
-
-
Method Details
-
of
Get the instance's registry, or null when nothing registered a provider. -
ofOrWithNew
Get the instance's registry, adding an empty one if it has none. -
getName
- Specified by:
getNamein interfaceTopLevelMetaDataInterface
-
withProvider
Register a provider class. Registering the same class again is a no-op, so modules may register idempotently. -
getProviders
Getter for providers -
setProviders
Setter for providers -
validate
Every provider must name a class that implements the provider interface.- Specified by:
validatein interfaceQSupplementalInstanceMetaData
-