Class StringContent
java.lang.Object
com.cloudbees.jenkins.support.api.Content
com.cloudbees.jenkins.support.filter.PrefilteredContent
com.cloudbees.jenkins.support.api.StringContent
- Direct Known Subclasses:
CommandOutputContent
Content that is a string.
- Author:
- Stephen Connolly
-
Constructor Summary
ConstructorDescriptionStringContent
(String name, String value) StringContent
(String name, String[] filterableParameters, String value) -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeTo
(OutputStream os) void
writeTo
(OutputStream os, ContentFilter filter) Write the component in the bundle filtering the contentMethods inherited from class com.cloudbees.jenkins.support.filter.PrefilteredContent
shouldBeFiltered
Methods inherited from class com.cloudbees.jenkins.support.api.Content
getFilterableParameters, getName, getTime
-
Constructor Details
-
StringContent
-
StringContent
-
-
Method Details
-
writeTo
- Specified by:
writeTo
in classContent
- Throws:
IOException
-
writeTo
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
-