19 lines
304 B
Java
19 lines
304 B
Java
|
package org.gcube.smartgears.health.response;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
import org.gcube.smartgears.health.HealthCheck;
|
||
|
import org.gcube.smartgears.health.Status;
|
||
|
|
||
|
public class HealthResponse {
|
||
|
|
||
|
Status status;
|
||
|
|
||
|
List<HealthCheck> checks;
|
||
|
|
||
|
void register(HealthCheck check){
|
||
|
checks.add(check);
|
||
|
}
|
||
|
|
||
|
}
|