Class LogRecordContent
java.lang.Object
com.cloudbees.jenkins.support.api.Content
com.cloudbees.jenkins.support.filter.PrefilteredContent
com.cloudbees.jenkins.support.impl.LogRecordContent
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
ConstructorsConstructorDescriptionLogRecordContent(String name) LogRecordContent(String name, String... filterableParameters) -
Method Summary
Modifier and TypeMethodDescriptionIteratesLogRecords to be printed as this content.protected voidprintTo(PrintWriter out) protected voidprintTo(PrintWriter out, ContentFilter filter) final voidwriteTo(OutputStream os) final voidwriteTo(OutputStream os, ContentFilter filter) Write the component in the bundle filtering the contentMethods inherited from class com.cloudbees.jenkins.support.filter.PrefilteredContent
shouldBeFilteredMethods inherited from class com.cloudbees.jenkins.support.api.Content
getFilterableParameters, getName, getTime
-
Constructor Details
-
LogRecordContent
-
LogRecordContent
-
-
Method Details
-
getLogRecords
IteratesLogRecords to be printed as this content.- Returns:
- the
LogRecords to be printed as this content. - Throws:
IOException- if an error occurs while performing the operation.- See Also:
-
Lists.reverse(List)
-
writeTo
- Specified by:
writeToin classContent- Throws:
IOException
-
writeTo
Description copied from class:PrefilteredContentWrite the component in the bundle filtering the content- Specified by:
writeToin classPrefilteredContent- Parameters:
os- OutputStream where write the contentfilter- ContentFilter to apply- Throws:
IOException- If an input or output exception occurs
-
printTo
- Throws:
IOException
-
printTo
- Throws:
IOException
-