Package jenkins.util
package jenkins.util
-
ClassDescription
Executor
-like class that executes a single task repeatedly, in such a way that a single execution can cover multiple pending queued requests.Wraps aTaskListener
as aBuildListener
for compatibility with APIs which historically expected the latter.ExecutorService
wrapper that resets the context classloader.Basic default implementation ofScriptListener
that just logs.A possible cyclic directed graph.Strongly connected component (SCC) of a graph.Executor service that logs unchecked exceptions / errors inRunnable
.Server-side counterpart toFullDuplexHttpStream
.HTTP response that allows a client to use this service.More convenient and declarative way to usePluginServletFilter
.HttpSessionListener
ExtensionPoint
for Jenkins.ExecutorService
that wraps all the tasks that run inside.Generalization ofInterceptingExecutorService
to scheduled services.List of arguments for Java VM and application.Public versions of variousClassLoader
methods for use inClassLoaderReflectionToolkit
.A utility class to identify if the current JVM is the one that is runningJenkins
Utilities for working with listener interfaces.FilteringOutputStream
that looks forMarkFindingOutputStream.MARK
in the output stream and notifies the callback.Utilities to reduce memory footprintLocalizable
implementation that actually doesn't localize.A helper thread which does some computation in the background and displays incremental results using JavaScript.SimpleResourceBundle
utility class.A listener to track in-process script use.OutputStream
that callsScriptListener.fireScriptOutput(String, Object, Object, String, hudson.model.User)
with the output it writes to the wrappedOutputStream
, and otherwise just forwardsScriptListener.ListenerOutputStream.flush()
andScriptListener.ListenerOutputStream.close()
.Writer
that callsScriptListener.fireScriptOutput(String, Object, Object, String, hudson.model.User)
with the output it writes to the wrappedWriter
, and otherwise just forwardsScriptListener.ListenerWriter.flush()
andScriptListener.ListenerWriter.close()
.Used in conjunction with /lib/form/serverTcpPort tag to parse the submitted JSON back into a port number.Java defines aThread.getContextClassLoader()
.Centralizes calls toSystem.getProperty(String)
and related calls.Represents a length of something, like3sec
.Holds theScheduledExecutorService
for running all background tasks in Jenkins.TreeString
is an alternative string representation that saves the memory when you have a large number of strings that share common prefixes (such as various file names.)DefaultConverter
implementation for XStream that does interning scoped to one unmarshalling.BuildsTreeString
s that share common prefixes.URLClassLoader
with loosened visibility for use withClassLoaderReflectionToolkit
.Objective is to validate an URL in a lenient way sufficiently strict to avoid too weird URL but to still allow particular internal URL to be accepted