Class HealthCheckMetaData
java.lang.Object
com.kingsrook.qqq.middleware.health.model.metadata.HealthCheckMetaData
- All Implemented Interfaces:
MetaDataProducerOutput,QMetaDataObject,QSupplementalInstanceMetaData,TopLevelMetaDataInterface,Serializable
MetaData for health check configuration.
This class implements QSupplementalInstanceMetaData to integrate with
QInstance without requiring changes to the core QInstance class.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSelfToInstance(QInstance qInstance) Add this metadata to the QInstance.Getter for authenticatorGetter for enabledGetter for endpointPathGetter for indicatorsgetName()Get the unique key for this supplemental metadata.Getter for requiredSecurityKeyTypeGetter for timeoutMsvoidsetAuthenticator(QCodeReference authenticator) Setter for authenticatorvoidsetEnabled(Boolean enabled) Setter for enabledvoidsetEndpointPath(String endpointPath) Setter for endpointPathvoidsetIndicators(List<HealthIndicator> indicators) Setter for indicatorsvoidsetRequiredSecurityKeyType(String requiredSecurityKeyType) Setter for requiredSecurityKeyTypevoidsetTimeoutMs(Integer timeoutMs) Setter for timeoutMswithAuthenticator(QCodeReference authenticator) Fluent setter for authenticatorwithEnabled(Boolean enabled) Fluent setter for enabledwithEndpointPath(String endpointPath) Fluent setter for endpointPathwithIndicators(List<HealthIndicator> indicators) Fluent setter for indicatorswithRequiredSecurityKeyType(String requiredSecurityKeyType) Fluent setter for requiredSecurityKeyTypewithTimeoutMs(Integer timeoutMs) Fluent setter for timeoutMsMethods 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
enrich, validate
-
Field Details
-
METADATA_KEY
- See Also:
-
-
Constructor Details
-
HealthCheckMetaData
public HealthCheckMetaData()
-
-
Method Details
-
getName
Get the unique key for this supplemental metadata. Required by QSupplementalInstanceMetaData interface.- Specified by:
getNamein interfaceTopLevelMetaDataInterface
-
addSelfToInstance
Add this metadata to the QInstance. Required by QSupplementalInstanceMetaData interface.- Specified by:
addSelfToInstancein interfaceMetaDataProducerOutput- Specified by:
addSelfToInstancein interfaceQSupplementalInstanceMetaData- Specified by:
addSelfToInstancein interfaceTopLevelMetaDataInterface
-
withEnabled
Fluent setter for enabled -
withEndpointPath
Fluent setter for endpointPath -
withIndicators
Fluent setter for indicators -
withAuthenticator
Fluent setter for authenticator -
withRequiredSecurityKeyType
Fluent setter for requiredSecurityKeyType -
withTimeoutMs
Fluent setter for timeoutMs -
getEnabled
Getter for enabled -
setEnabled
Setter for enabled -
getEndpointPath
Getter for endpointPath -
setEndpointPath
Setter for endpointPath -
getIndicators
Getter for indicators -
setIndicators
Setter for indicators -
getAuthenticator
Getter for authenticator -
setAuthenticator
Setter for authenticator -
getRequiredSecurityKeyType
Getter for requiredSecurityKeyType -
setRequiredSecurityKeyType
Setter for requiredSecurityKeyType -
getTimeoutMs
Getter for timeoutMs -
setTimeoutMs
Setter for timeoutMs
-