Class UnfilteredStringContent
java.lang.Object
com.cloudbees.jenkins.support.api.Content
com.cloudbees.jenkins.support.api.UnfilteredStringContent
- Direct Known Subclasses:
UnfilteredCommandOutputContent
Content that is a string and cannot be pre-filtered.
- Author:
- M Ramón León
-
Constructor Summary
ConstructorDescriptionUnfilteredStringContent
(String name, String value) UnfilteredStringContent
(String name, String[] filterableParameters, String value) -
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
Constructor Details
-
UnfilteredStringContent
-
UnfilteredStringContent
-
-
Method Details
-
writeTo
- 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
-