public static class HealthZone.ErrorApi
extends hudson.model.Api
Api
that can give a better error message for
our use case.Constructor and Description |
---|
HealthZone.ErrorApi(HealthZone zone,
HealthCheckReport report) |
Modifier and Type | Method and Description |
---|---|
void |
doJson(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
void |
doPython(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
void |
doXml(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String xpath,
String wrapper,
String tree,
int depth) |
public HealthZone.ErrorApi(HealthZone zone, HealthCheckReport report)
zone
- the HealthZone
in bad state.report
- the HealthCheckReport
detailing the errors.public void doXml(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter String xpath, @QueryParameter String wrapper, @QueryParameter String tree, @QueryParameter int depth) throws IOException
doXml
in class hudson.model.Api
IOException
public void doJson(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
doJson
in class hudson.model.Api
IOException
public void doPython(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
doPython
in class hudson.model.Api
IOException
Copyright © 2004-2015. All Rights Reserved.