Package hudson.model
package hudson.model
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.-
ClassDescriptionBase implementation of
Run
s that build software.Represents a change in the dependency.AbstractDescribableImpl<T extends AbstractDescribableImpl<T>>Partial default implementation ofDescribable
.Partial default implementation ofItem
.ModelObject
with some convenience methods.Base implementation ofJob
s that build software.AbstractProject
subtypes should implement this base class as a descriptor.Deprecated.Because the downstream build is in progress, and we are configured to wait for that.Because the upstream build is in progress, and we are configured to wait for that.Deprecated.UseLabelValidator
instead.Partial base class forStatusIcon
.Object that contributes additional information, behaviors, and UIs toModelObject
(more specificallyActionable
objects, which most interestingModelObject
s are.)ModelObject
that can have additionalAction
s.Checks the health of a subsystem of Jenkins and if there's something that requires administrator's attention, notify the administrator.View
that contains everything.Extension point which allows scheduling a task with variable interval.Used to expose remote access API for ".../api/"AperiodicWork
that takes a long time to run.PeriodicWork
that takes a long time to run.Data representation of the auto-completion candidates.Ball color used for the build status indication.ParameterDefinition
that is either 'true' or 'false'.ParameterValue
created fromBooleanParameterDefinition
.A build of aProject
.Item
that can be "built", for whatever meaning of "build".AbstractProject
that has associatedBuildWrapper
s.Deprecated.2008-07-20 UseACL
andItem.BUILD
.Action
that puts a little icon (or icons) next to the build in the build history.Receives events that happen during a build.Receives events that happen as a build executesBuildStep
s.Deprecated.since 2.431Contributes build variables to builds.Cause object base class.Deprecated.since 2009-02-08A build is triggered by another build (AKA upstream build.)Deprecated.1.428 useCause.UserIdCause
A build is started by an user action.Provides a mechanism for synchronizing build executions in the face of concurrent builds.Represents the running state of a remote computer that holdsExecutor
s.Used to trace requests to terminate a computer.Adds box rendered in the computer side panel.A way to see if a computer is reachable.Default pinger - use Java built-in functionality.Serves as the top ofComputer
s in the URL hierarchy.Allows plugins to override the displayed list of computers.Deprecated.UseDependencyDeclarer
instead.Maintains the build dependencies betweenAbstractProject
s for efficient dependency computation.Represents an edge in the dependency graph.Describable<T extends Describable<T>>Classes that are described byDescriptor
.Descriptor<T extends Describable<T>>Metadata about a configurable instance.Represents a readable property onDescribable
.Special type indicating thatDescriptor
describes itself.AddsDescriptorByNameOwner.getDescriptorByName(String)
to bindDescriptor
s to URL.HidesDescriptor
s from users.Marker interface forView
its items can be modified.Has convenience methods to serve file system.Represents information about one file or folder.Service for plugins to periodically retrieve update data files (like the one in the update center) through browsers.Represents a periodically updated JSON data file obtained from a remote URL.This installs itself as a listener to changes to the Downloadable extension list and will download the metadata for any newly added Downloadables.Represents some resources that are set up for the duration of a build to be torn down when the build is over.Action
that contributes environment variables during a build.Contributes environment variables to builds.Serves the combined list of environment variables available from this plugin.List ofEnvironment
.EnvironmentSpecific<T extends EnvironmentSpecific<T>>Represents any concept that can be adapted for a certain environment.Thread that executes builds.A listener for task related events from executors.Represents an error induced by user, encountered during HTTP request processing.ParameterDefinition
for doing file upload.Deprecated.Default implementation fromFile
.A file being tracked by Jenkins.Pointer to aBuild
.Range of build numbers [start,end).Set ofFingerprint.Range
s.Converter Implementation for RangeSet.Scans the fingerprint database and remove old records that are no longer relevant.Cache ofFingerprint
s.Free-style software project.Deprecated.Unused.Represents health of something (typically project).Fix deserialization of older data.AnAction
that can return information about the health of the Job.Deprecated.only here for backward compDeprecated.only here for backward compPartialAction
implementation that doesn't have any UI presence (unless theInvisibleAction.getUrlName()
is overrided).Basic configuration unit in Hudson.Represents a grouping inherent to a kind ofItem
s.Defines a bunch of static methods to be used as a "mix-in" forItemGroup
implementations.Convenience methods related toItem
.Information about JDK installation.A job is an runnable entity under the monitoring of Hudson.Alternate strategy for assigning build numbers.Provides an externally accessible alias forJob.saveNextBuildNumber()
, which isprotected
.Extensible property ofJob
.Descriptor
forJobProperty
.Deprecated.since 1.281Group ofNode
s.Automatically adds labels toNode
s.DisplaysJob
s in a flat list view.Strategy that decides whichQueue.Task
gets run on whichExecutor
.Utilization statistics for a node or a set of nodes.Holds a snapshot of the current statistics.Use a builder so we can add more stats if needed.Periodically update the load statistics average.Adds the "Manage Jenkins" link to the top page.Extension point to add icon tohttp://server/hudson/manage
page.Categories supported by this version of core.Generated localization support class.A model object has a human readable name.ModifiableItemGroup<T extends Item>ItemGroup
that is a general purpose container, which allows users and the rest of the program to create arbitrary items into it.ViewGroup
that can be modified.Maintains severalTimeSeries
with different update frequencies to satisfy three goals; (1) retain data over long timespan, (2) save memory, and (3) retain accurate data for the recent past.Choose which datapoint to use.Represents the trend chart that consists of severalMultiStageTimeSeries
.View
that only contains projects for which the current user has access to.A UserProperty that remembers user-private views.Base type of Jenkins agents (although in practice, you probably extendSlave
to define a new agent type).Constants that control how Hudson allocates jobs to agents.Executor
that's temporarily added to carry out tasks that doesn't consume regular executors, like a matrix project parent build.LoadStatistics
for the entire system (the master and all the agents combined), and all the jobs that are running on it.Participates in the rendering of HTML pages for all pages of Hudson.Defines a parameter for a build.Records the parameter values used for a build.Keeps a list of the parameters defined for a project.A value for a parameter in a build.Parameter whose value is aSecret
and is hidden from the UI.Extension point to perform a periodic task in Hudson (throughTimer
.)Optional interface forAction
s that are attached toAbstractProject
(throughJobProperty.getJobActions(Job)
), which allows plugins to define additional permalinks in the project.Permalink as a strategy pattern.Root object of a persisted object tree that gets its own file system directory.Marker interface for Descriptors which use xml persistent data, and as such need to load from disk when instantiated.Buildable software project.Marker interface forAction
s that should be displayed at the top of the project page.A view that delegates to another.Build queue.Queue.Item
in theQueue.buildables
stage.Represents the real meat of the computation run byExecutor
.MarksQueue.Task
s that do not consumeExecutor
.Item in a queue.Data structure created for each idleExecutor
.Queue.Item
in theQueue.leftItems
stage.MarksQueue.Task
s that are not affected by the Jenkins.isQuietingDown() quieting down}, because these tasks keep other tasks executing.Common part betweenQueue.BlockedItem
andQueue.BuildableItem
.An optional interface for actions on Queue.Item.Extension point for deciding if particular job should be scheduled or not.ScheduleQueue.save()
call for near future once items change.Simple queue state persistence object.A Stub class forQueue.Item
which exposes only the name of the Task to be displayed when the user has DISCOVERY permissions only.A Stub class forQueue.Task
which exposes only the name of the Task to be displayed when the user has DISCOVERY permissions only.Task whose execution is controlled by the queue.MarksQueue.Task
s that are not persisted.Queue.Item
in theQueue.waitingList
stage.ReconfigurableDescribable<T extends ReconfigurableDescribable<T>>Marks modernDescribable
s that allow the current instances to pass information down to the next instance when the configuration is submitted.Represents things thatQueue.Executable
uses while running.Activity that requires certain resources for its execution.Controls mutual exclusion ofResourceList
.List ofResource
s that an activity needs.Extension point that allows plugins to veto the restart.Default logic.The build outcome.Describes anResult
trend by taking the comparing the result of the current and the previous build.Marker interface for actions that are added toJenkins
.RSS related code.A particular execution ofJob
.Used inRun.RunExecution.run(hudson.model.BuildListener)
to indicates that a fatal error in a build is reported toBuildListener
and the build should be simply aborted without further recording a stack trace.Used to implementRun.getBuildStatusSummary()
.Deprecated.UseRunAction2
instead:RunAction.onLoad()
does not work well with lazy loading if you are trying to persist the owner; andRunAction.onBuildComplete()
was never called.Run
factory.Constants that control how Run Parameter is filtered.Object whose state is persisted to XML.Deprecated.ImplementSCMTriggerItem
instead.Convenient base class forParameterDefinition
whose value can be represented in a context-independent single string token.Information about a Hudson agent node.Web-bound object used to serve jar files for inbound connections.Item
can return this from the "getIconColor" method so that its "status icon" can be shown in Hudson UI.StatusIcon
for stock icon in Hudson.BuildListener
that writes to anOutputStream
.Parameter whose value is a string value.ParameterValue
created fromStringParameterDefinition
.PartialAction
implementation for those who kick some processing asynchronously (such as SCM tagging.)Receives events that happen during some lengthy operation that has some chance of failures, such as a build, SCM change polling, agent launch, and so on.Thread
for performing one-off task.Tuple ofTaskListener
andAnnotatedLargeText
, representing the interface for producing output and how to retrieve it later.StringParameterDefinition
that uses textarea, instead of text box.Scalar value that changes over the time (such as load average, Q length, # of executors, etc.)A UserProperty that allows a user to specify a time zone for displaying time.Descriptor
forTopLevelItem
s.Deprecated.Does not contribute toActionable.getActions()
.Extension point for inserting transientAction
s intoAbstractProject
s.RootAction
s that are accessible to requests that do not have the READ permission onJenkins
.Controls update center capability.AdministrativeMonitor
that checks if there's Jenkins update.Deprecated.Strategy object for controlling the update center's behaviors.Source of the update center information, like "http://jenkins-ci.org/update-center.json"Represents a deprecation of a certain component.Metadata for one issue tracker provided by the update site.A version range forWarning
s indicates which versions of a given plugin are affected by it.The opposite of theUsageStatistics.CombinedCipherOutputStream
.Asymmetric cipher is slow and in case of Sun RSA implementation it can only encrypt the first block.Represents a user.Resolves User IDs by ID, full names or other strings.Resolve user ID from full nameTries to verify if an ID is valid.Extensible property ofUser
.Descriptor
forUserProperty
.Encapsulates the rendering of the list ofTopLevelItem
s thatJenkins
owns.Descriptor
forView
.Container ofView
s.ImplementsViewGroup
to be used as a "mix-in".Job
that monitors activities that happen outside Hudson, which requires occasional batch reload activity to obtain the up-to-date information.Extensible property ofView
.Allows to access a workspace as an alternative to online build node.Clean up old left-over workspaces from agents.
BlockedBecauseOfBuildInProgress
instead.