Class UnfilteredStringContent
- java.lang.Object
-
- com.cloudbees.jenkins.support.api.Content
-
- com.cloudbees.jenkins.support.api.UnfilteredStringContent
-
- Direct Known Subclasses:
UnfilteredCommandOutputContent
public class UnfilteredStringContent extends Content
Content that is a string and cannot be pre-filtered.- Author:
- M Ramón León
-
-
Constructor Summary
Constructors Constructor Description UnfilteredStringContent(String name, String value)
UnfilteredStringContent(String name, String[] filterableParameters, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldBeFiltered()
Indicates if this Content should be filtered when anonymization is enabled.void
writeTo(OutputStream os)
-
Methods inherited from class com.cloudbees.jenkins.support.api.Content
getFilterableParameters, getName, getTime
-
-
-
-
Method Detail
-
writeTo
public void writeTo(OutputStream os) throws IOException
- Specified by:
writeTo
in classContent
- Throws:
IOException
-
shouldBeFiltered
public boolean shouldBeFiltered()
Description copied from class:Content
Indicates 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:
shouldBeFiltered
in classContent
-
-