Uses of Class
io.jenkins.plugins.prism.SourceCodeViewModel.Builder
-
Uses of SourceCodeViewModel.Builder in io.jenkins.plugins.prism
Methods in io.jenkins.plugins.prism that return SourceCodeViewModel.BuilderModifier and TypeMethodDescriptionSourceCodeViewModel.Builder.withExcerpt(int from, int to) Shows only an excerpt of the content.SourceCodeViewModel.Builder.withLineAnnotations(List<LineAnnotation> annotations) Defines the annotations of the lines.SourceCodeViewModel.Builder.withMarkers(List<Marker> markers) Defines the markers to show.SourceCodeViewModel.Builder.withoutCollapsing()Shows all lines of the content.SourceCodeViewModel.Builder.withoutPermissionCheck()Skips the check of the permission to view the source code of the workspace (seeSourceCodeViewModel.hasPermissionToViewSourceCode(Run)).SourceCodeViewModel.Builder.withPlainText()Shows the content as plain text, without syntax highlighting.