Package hudson.util

Other miscellaneous utility code

See:
          Description

Interface Summary
ConsistentHash.Hash<T> Hashes an object to some value.
DescribableList.Owner Deprecated. since 2008-08-15.
Function1<R,P1> Unary function y=f(x).
InvocationInterceptor Interceptor around InvocationHandler.
Iterators.CountingPredicate<T>  
ProcessTree.ProcessCallable<T> Code that gets executed on the machine where the ProcessTree.OSProcess is local.
ProcessTreeRemoting.IOSProcess  
ProcessTreeRemoting.IProcessTree  
TagCloud.WeightFunction<T>  
VariableResolver<V> Resolves variables to its value, while encapsulating how that resolution happens.
 

Class Summary
AbstractTaskListener Partial default implementation of TaskListener
AdaptedIterator<T,U> Iterator that adapts the values returned from another iterator.
AdministrativeError A convenient AdministrativeMonitor implementations that show an error message and optional stack trace.
AlternativeUiTextProvider Provides the alternative text to be rendered in the UI.
AlternativeUiTextProvider.Message<T> Each instance of this class represents a text that can be replaced by AlternativeUiTextProvider.
Area Represents a two dimensional area.
ArgumentListBuilder Used to build up arguments for a process invocation.
AtomicFileWriter Buffered FileWriter that uses UTF-8.
AWTProblem  
ByteArrayOutputStream2 ByteArrayOutputStream with access to its raw buffer.
ByteBuffer Deprecated. since 2008-05-28.
CaseInsensitiveComparator Case-insensitive string comparator.
CharacterEncodingFilter Filter that sets the character encoding to be used in parsing the request to avoid Non-ASCII characters garbled.
CharSpool Deprecated. since 2008-05-28.
ChartUtil Chart generation utility code around JFreeChart.
ChartUtil.NumberOnlyBuildLabel Can be used as a graph label.
ChunkedInputStream Transparently coalesces chunks of a HTTP stream that uses Transfer-Encoding chunked.
ChunkedOutputStream Implements HTTP chunking support.
ClasspathBuilder Used to build up an argument in the classpath format.
ClockDifference Represents a clock difference.
ColorPalette Color constants consistent with the Hudson color palette.
ComboBoxModel Model object for dynamically filed combo box, which is really just ArrayList<String>
CompoundEnumeration<T> Enumeration that aggregates multiple Enumerations.
CompressedFile Represents write-once read-many file that can be optiionally compressed to save disk space.
ConcurrentHashMapConverter ConcurrentHashMap should convert like a map, instead of via serialization.
ConsistentHash<T> Consistent hash.
CopyOnWriteList<E> List-like implementation that has copy-on-write semantics.
CopyOnWriteList.ConverterImpl Converter implementation for XStream.
CopyOnWriteMap<K,V> Map that has copy-on-write semantics.
CopyOnWriteMap.Hash<K,V> CopyOnWriteMap backed by HashMap.
CopyOnWriteMap.Hash.ConverterImpl  
CopyOnWriteMap.Tree<K,V> CopyOnWriteMap backed by TreeMap.
CopyOnWriteMap.Tree.ConverterImpl  
CyclicGraphDetector<N> Traverses a directed graph and if it contains any cycle, throw an exception.
DaemonThreadFactory ThreadFactory that creates daemon threads.
DataSetBuilder<Row extends Comparable,Column extends Comparable> Builds CategoryDataset.
DecodingStream Hex-binary decoding stream.
DelegatingOutputStream Works like FilterOutputStream except its performance problem.
DescribableList<T extends Describable<T>,D extends Descriptor<T>> Persisted list of Describables with some operations specific to Descriptors.
DescribableList.ConverterImpl Converter implementation for XStream.
DescriptorList<T extends Describable<T>> List of Descriptors.
Digester2 Digester wrapper to fix the issue DIGESTER-118.
DirScanner Visits a directory and its contents and pass them to the FileVisitor.
DirScanner.Filter Scans by filtering things out from FileFilter
DirScanner.Full Scans everything recursively.
DirScanner.Glob Scans by using Ant GLOB syntax.
DoubleLaunchChecker Makes sure that no other Hudson uses our JENKINS_HOME directory, to forestall the problem of running multiple instances of Hudson that point to the same data directory.
DualOutputStream  
EditDistance Computes the string edit distance.
EncodingStream Hex-binary encoding stream.
EnumConverter Converter for enums.
ErrorObject Basis for error model objects.
ExceptionCatchingThreadFactory ThreadFactory that creates a thread, which in turn displays a stack trace when it terminates unexpectedly.
FileVisitor Visits files in a directory recursively.
FlushProofOutputStream OutputStream that blocks FlushProofOutputStream.flush() method.
ForkOutputStream  
FormApply Server-side code related to the <f:apply> button.
FormFieldValidator Deprecated. as of 1.294 Use FormValidation as a return value in your check method.
FormFieldValidator.Base64 Deprecated. as of 1.305 Use FormValidation.validateBase64(String, boolean, boolean, String) instead.
FormFieldValidator.Executable Deprecated. as of 1.294.
FormFieldValidator.HudsonURL Checks if the given value is an URL to some Hudson's top page.
FormFieldValidator.NonNegativeInteger Deprecated. as of 1.294 Use FormValidation.validateNonNegativeInteger(String)
FormFieldValidator.URLCheck Deprecated. as of 1.294 Use FormValidation.URLCheck
FormFieldValidator.WorkspaceDirectory Deprecated. as of 1.294.
FormFieldValidator.WorkspaceFileMask Deprecated. as of 1.294.
FormFieldValidator.WorkspaceFilePath Deprecated. as of 1.294.
FormValidation.FileValidator Performs an application-specific validation on the given file.
FormValidation.URLCheck Convenient base class for checking the validity of URLs.
Futures Various Future implementations.
Graph A JFreeChart-generated graph that's bound to UI.
HeadBufferingStream FilterInputStream that buffers the first N bytes to a byte array on the side.
HeapSpaceStringConverter Up to XStream 1.3 the default StringConverter in XStream used String.intern(), which stressed the (rather limited) PermGen space with a large XML file.
HexBinaryConverter  
HttpResponses Various HttpResponse implementations.
HudsonFailedToLoad Model object used to display the generic error when Hudson start up fails fatally during initialization.
HudsonIsLoading Model object used to display "Jenkins is loading data".
HudsonIsRestarting Model object used to display "Hudson is restarting".
IncompatibleAntVersionDetected Model object used to display the error top page if we find out that the container is picking up its own Ant and that's not 1.7.
IncompatibleServletVersionDetected Model object used to display the error top page if we find out that the container doesn't support servlet 2.4.
IncompatibleVMDetected Model object used to display the error top page if we find out that XStream is running in pure-java mode.
InsufficientPermissionDetected Model object used to display the error top page if we find that we don't have enough permissions to run.
InterceptingProxy Creates a proxy that traps every method call.
IOUtils Adds more to commons-io.
Iterators Varios Iterators.FlattenIterator implementations.
Iterators.DuplicateFilterIterator<T> Remove duplicates from another iterator.
Iterators.FilterIterator<T> Creates a filtered view of another iterator.
Iterators.FlattenIterator<U,T> Produces {A,B,C,D,E,F} from {{A,B},{C},{},{D,E,F}}.
JenkinsReloadFailed Indicates that Jenkins is interrupted during reload.
JNADoublyLoaded Indicates that JNA is already loaded in another class loader.
JVMBuilder Used to build up launch parameters for a Java virtual machine.
KeyedDataStorage<T,P> Convenient base class for implementing data storage.
LineEndNormalizingWriter Deprecated. since 2008-05-28.
ListBoxModel Model object of dynamically filled list box.
ListBoxModel.Option  
LoadMonitor  
LoadMonitorImpl  
LogTaskListener TaskListener which sends messages to a Logger.
LRUStringConverter  
MaskingClassLoader ClassLoader that masks a specified set of classes from its parent class loader.
Memoizer<K,V> Implements memoization semantics.
Messages  
MultipartFormDataParser Wraps commons file-upload and handles a "multipart/form-data" form submisison (that often includes file upload.)
NoHomeDir Model object used to display the error top page if we couldn't create the home directory.
NoOverlapCategoryAxis This class implements X-axis label skipping algorithm to avoid drawing overlapping labels.
NoTempDir Model object used to display the error top page if there appears to be no temporary directory.
NullStream  
OneShotEvent Concurrency primitive.
PackedMap<K,V> Read-only map implementation that uses less memory than HashMap/TreeMap.
PackedMap.ConverterImpl Should persist like a regular map.
PersistedList<T> Collection whose change is notified to the parent object for persistence.
PersistedList.ConverterImpl Converter implementation for XStream.
PluginServletFilter Servlet Filter that chains multiple Filters, provided by plugins
ProcessKiller Extension point that defines more elaborate way of killing processes, such as sudo or pfexec, for ProcessTree.
ProcessTree Represents a snapshot of the process tree of the current system.
ProcessTree.Local Represents a local process tree, where this JVM and the process tree run on the same system.
ProcessTree.Remote Represents a process tree over a channel.
ProcessTreeKiller Deprecated. as of 1.315.
ProcessTreeRemoting Remoting interfaces of ProcessTreeRemoting.IProcessTree.
Protector Encrypt/decrypt data by using a "session" key that only lasts for the duration of the server instance.
QueryParameterMap Parses the query string of the URL into a key/value pair.
QuotedStringTokenizer StringTokenizer with Quoting support.
ReflectionUtils Utility code for reflection.
ReflectionUtils.Parameter  
RemotingDiagnostics Various remoting operations related to diagnostics.
RemotingDiagnostics.HeapDump Heap dump, exposable to URL via Stapler.
RingBufferLogHandler Log Handler that stores the log records into a ring buffer.
RobustCollectionConverter CollectionConverter that ignores CannotResolveClassException.
RobustReflectionConverter Custom ReflectionConverter that handle errors more gracefully.
RunList<R extends Run> List of Runs, sorted in the descending date order.
Scrambler Used when storing passwords in configuration files.
Secret Glorified String that uses encryption in the persisted form, to avoid accidental exposure of a secret.
Secret.ConverterImpl  
SecretHelper  
SecretRewriter Rewrites XML files by looking for Secrets that are stored with the old key and replaces them by the new encrypted values.
SequentialExecutionQueue Executor that collapses two equal Runnables into one, and makes sure no two equal Runnables get executed simultaneously.
Service Load classes by looking up META-INF/services.
ShiftedCategoryAxis CategoryAxis shifted to left to eliminate redundant space between area and the Y-axis.
StackedAreaRenderer2 Modified StackedAreaRenderer.
StreamCopyThread Thread that copies InputStream to OutputStream.
StreamResource Wraps InputStream to Resource.
StreamTaskListener TaskListener that generates output into a single stream.
StringConverter2 Deprecated. since 2009-11-06 Use HeapSpaceStringConverter instead.
SubClassGenerator Generates a new class that just defines constructors into the super types.
TableNestChecker XMLFilter that checks the proper nesting of table related tags.
TagCloud<T> Represents an order-preserving tag cloud (http://en.wikipedia.org/wiki/Tag_cloud) where each keyword gets a weight and displayed according to their weight.
TextFile Represents a text file.
UnbufferedBase64InputStream Filter InputStream that decodes base64 without doing any buffering.
VariableResolver.ByMap<V> VariableResolver backed by a Map.
VariableResolver.Union<V> Union of multiple VariableResolver.
WriterOutputStream Deprecated. since 2008-05-28.
XStream2 XStream enhanced for additional Java5 support and improved robustness.
XStream2.PassthruConverter<T> Create a nested ConverterImpl subclass that extends this class to run some callback code just after a type is unmarshalled by RobustReflectionConverter.
 

Enum Summary
FormValidation.Kind Indicates the kind of result.
TimeUnit2 A TimeUnit represents time durations at a given unit of granularity and provides utility methods to convert across units, and to perform timing and delay operations in these units.
 

Exception Summary
CyclicGraphDetector.CycleDetectedException  
FormValidation Represents the result of the form field validation.
IOException2 IOException with linked exception.
RobustReflectionConverter.DuplicateFieldException  
 

Package hudson.util Description

Other miscellaneous utility code



Copyright © 2004-2013. All Rights Reserved.