public class AdhocStatusHealthCheck extends Object implements org.apache.felix.hc.api.HealthCheck
Constructor and Description |
---|
AdhocStatusHealthCheck(org.apache.felix.hc.api.Result.Status status,
String msg) |
Modifier and Type | Method and Description |
---|---|
org.apache.felix.hc.api.Result |
execute() |
org.osgi.framework.ServiceRegistration<org.apache.felix.hc.api.HealthCheck> |
getServiceRegistration() |
void |
setServiceRegistration(org.osgi.framework.ServiceRegistration<org.apache.felix.hc.api.HealthCheck> serviceRegistration) |
void |
updateMessage(String msg) |
void |
updateResult(org.apache.felix.hc.api.Result result) |
public AdhocStatusHealthCheck(org.apache.felix.hc.api.Result.Status status, String msg)
public org.apache.felix.hc.api.Result execute()
execute
in interface org.apache.felix.hc.api.HealthCheck
public void updateMessage(String msg)
public void updateResult(org.apache.felix.hc.api.Result result)
public org.osgi.framework.ServiceRegistration<org.apache.felix.hc.api.HealthCheck> getServiceRegistration()
public void setServiceRegistration(org.osgi.framework.ServiceRegistration<org.apache.felix.hc.api.HealthCheck> serviceRegistration)
Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.