Class MetricsContent
java.lang.Object
com.cloudbees.jenkins.support.api.Content
com.cloudbees.jenkins.support.impl.MetricsContent
A metric content.
- Author:
- Stephen Connolly
-
Constructor Summary
ConstructorsConstructorDescriptionMetricsContent(String name, com.codahale.metrics.MetricRegistry metricsRegistry) MetricsContent(String name, String[] filterableParameters, com.codahale.metrics.MetricRegistry metricsRegistry) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if this Content should be filtered when anonymization is enabled.voidwriteTo(OutputStream os) Methods inherited from class com.cloudbees.jenkins.support.api.Content
getFilterableParameters, getName, getTime
-
Constructor Details
-
MetricsContent
-
MetricsContent
-
-
Method Details
-
writeTo
- Specified by:
writeToin classContent- Throws:
IOException
-
shouldBeFiltered
public boolean shouldBeFiltered()Description copied from class:ContentIndicates if this Content should be filtered when anonymization is enabled. Whentrue, the contents written viaContent.writeTo(OutputStream)may be filtered by aContentFilter. Whenfalse, the contents are written without any filtering applied.- Overrides:
shouldBeFilteredin classContent
-