Modifier and Type | Optional Element and Description |
---|---|
String |
asyncCronExpression
Cron expression for asynchronous execution (optional, default is synchronous execution).
|
String |
componentName
Defines the Component name also used as the PID for the Configuration Admin Service.
|
boolean |
configurationFactory
Set the metatype factory pid property (only for non factory components).
|
org.apache.felix.scr.annotations.ConfigurationPolicy |
configurationPolicy
The component configuration policy
|
String |
description
This is generally used as a description for the object described by the meta type.
|
boolean |
generateComponent
Whether to generate a default SCR component tag.
|
boolean |
generateService
Whether to generate a default SCR service tag with "interface=org.apache.sling.hc.api.HealthCheck".
|
boolean |
immediate
Whether immediate is set on the SCR component.
|
String |
label
This is generally used as a title for the object described by the meta type.
|
String |
mbeanName
The JMX mbean name (optional, the mbean is only registered if attribute present).
|
boolean |
metatype
Whether Metatype Service data is generated or not.
|
String |
name
Defines the name of the health check.
|
long |
resultCacheTtlInMs
Overrides the global result TTL as configured in
org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl for this individual check. |
String[] |
tags
One ore more tags.
|
long |
warningsStickForMinutes
If given, warning results (that is WARN, CRITICAL or HEALTH_CHECK_ERROR) from the past executions
will be taken into account as well for the given minutes (use Integer.MAX_VALUE for indefinitely).
|
public abstract String name
This attribute is converted to values for the hc.name
property.
public abstract String[] tags
This attribute is converted to values for the hc.tags
property.
public abstract String mbeanName
This attribute is converted to values for the hc.mbean.name
property.
public abstract String asyncCronExpression
This attribute is converted to values for the hc.async.cronExpression
property.
public abstract long resultCacheTtlInMs
org.apache.sling.hc.core.impl.executor.HealthCheckExecutorImpl
for this individual check.
The value of this property must be of type Long
and is configured in ms.
public abstract long warningsStickForMinutes
public abstract boolean generateComponent
Component
annotation can be added manually
with defined whatever configuration needed.public abstract boolean generateService
Service
annotation can be added manually with defined whatever configuration needed.public abstract String componentName
public abstract boolean metatype
metatype.xml
file for this component. Otherwise no Metatype Service data is generated for this component.public abstract boolean immediate
public abstract boolean configurationFactory
public abstract org.apache.felix.scr.annotations.ConfigurationPolicy configurationPolicy
public abstract String label
public abstract String description
Copyright © 2013–2017 The Apache Software Foundation. All rights reserved.