Class PrefilteredPrintedContent
- java.lang.Object
-
- com.cloudbees.jenkins.support.api.Content
-
- com.cloudbees.jenkins.support.filter.PrefilteredContent
-
- com.cloudbees.jenkins.support.api.PrefilteredPrintedContent
-
public abstract class PrefilteredPrintedContent extends PrefilteredContent
Content that is printed on demand and filtered by itself.- Author:
- M Ramón León
-
-
Constructor Summary
Constructors Constructor Description PrefilteredPrintedContent(String name)
PrefilteredPrintedContent(String name, String... filterableParameters)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
printTo(PrintWriter out)
protected abstract void
printTo(PrintWriter out, ContentFilter filter)
void
writeTo(OutputStream os)
void
writeTo(OutputStream os, ContentFilter filter)
Write the component in the bundle filtering the content-
Methods inherited from class com.cloudbees.jenkins.support.filter.PrefilteredContent
shouldBeFiltered
-
Methods inherited from class com.cloudbees.jenkins.support.api.Content
getFilterableParameters, getName, getTime
-
-
-
-
Method Detail
-
writeTo
public final void writeTo(OutputStream os) throws IOException
- Specified by:
writeTo
in classContent
- Throws:
IOException
-
writeTo
public void writeTo(OutputStream os, ContentFilter filter) throws IOException
Description copied from class:PrefilteredContent
Write the component in the bundle filtering the content- Specified by:
writeTo
in classPrefilteredContent
- Parameters:
os
- OutputStream where write the contentfilter
- ContentFilter to apply- Throws:
IOException
- If an input or output exception occurs
-
printTo
protected void printTo(PrintWriter out) throws IOException
- Throws:
IOException
-
printTo
protected abstract void printTo(PrintWriter out, ContentFilter filter) throws IOException
- Throws:
IOException
-
-