Package hudson.model
Core object model that are bound to URLs via stapler, rooted at
Jenkins.-
Interface Summary Interface Description Action Object that contributes additional information, behaviors, and UIs toModelObject(more specificallyActionableobjects, which most interestingModelObjects are.)BuildableItem Itemthat can be "built", for whatever meaning of "build".BuildableItemWithBuildWrappers AbstractProjectthat has associatedBuildWrappers.BuildBadgeAction Actionthat puts a little icon (or icons) next to the build in the build history.BuildListener Receives events that happen during a build.DependecyDeclarer Deprecated. UseDependencyDeclarerinstead.Describable<T extends Describable<T>> Classes that are described byDescriptor.DescriptorByNameOwner AddsDescriptorByNameOwner.getDescriptorByName(String)to bindDescriptors to URL.DirectlyModifiableView Marker interface forViewits items can be modified.EnvironmentContributingAction Actionthat contributes environment variables during a build.EnvironmentSpecific<T extends EnvironmentSpecific<T>> Represents any concept that can be adapted for a certain environment.ExecutorListener A listener for task related events from executors.HealthReportingAction AnActionthat can return information about the health of the Job.Item Basic configuration unit in Hudson.ItemGroup<T extends Item> Represents a grouping inherent to a kind ofItems.ModelObject A model object has a human readable name.ModifiableItemGroup<T extends Item> ItemGroupthat is a general purpose container, which allows users and the rest of the program to create arbitrary items into it.ModifiableViewGroup ViewGroupthat can be modified.PermalinkProjectAction Optional interface forActions that are attached toAbstractProject(throughJobProperty.getJobActions(Job)), which allows plugins to define additional permalinks in the project.PersistenceRoot Root object of a persisted object tree that gets its own file system directory.PersistentDescriptor Marker interface for Descriptors which use xml persistent data, and as such need to load from disk when instantiated.ProminentProjectAction Marker interface forActions that should be displayed at the top of the project page.Queue.Executable Represents the real meat of the computation run byExecutor.Queue.FlyweightTask MarksQueue.Tasks that do not consumeExecutor.Queue.NonBlockingTask MarksQueue.Tasks that are not affected by the Jenkins.isQuietingDown() quieting down}, because these tasks keep other tasks executing.Queue.QueueAction An optional interface for actions on Queue.Item.Queue.Task Task whose execution is controlled by the queue.Queue.TransientTask MarksQueue.Tasks that are not persisted.ReconfigurableDescribable<T extends ReconfigurableDescribable<T>> Marks modernDescribables that allow the current instances to pass information down to the next instance when the configuration is submitted.ResourceActivity Activity that requires certain resources for its execution.RootAction Marker interface for actions that are added toJenkins.RunAction Deprecated. UseRunAction2instead:RunAction.onLoad()does not work well with lazy loading if you are trying to persist the owner; andRunAction.onBuildComplete()was never called.RunMap.Constructor<R extends Run<?,R>> Runfactory.Saveable Object whose state is persisted to XML.SCMedItem Deprecated. ImplementSCMTriggerIteminstead.StatusIcon Itemcan return this from the "getIconColor" method so that its "status icon" can be shown in Hudson UI.TaskListener 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.TopLevelItem UnprotectedRootAction RootActions that are accessible to requests that do not have the READ permission onJenkins.ViewGroup Container ofViews. -
Class Summary Class Description AbstractBuild<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>> Base implementation ofRuns that build software.AbstractBuild.DependencyChange Represents a change in the dependency.AbstractCIBase AbstractDescribableImpl<T extends AbstractDescribableImpl<T>> Partial default implementation ofDescribable.AbstractItem Partial default implementation ofItem.AbstractModelObject ModelObjectwith some convenience methods.AbstractProject<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>> Base implementation ofJobs that build software.AbstractProject.AbstractProjectDescriptor AbstractProjectsubtypes should implement this base class as a descriptor.AbstractProject.BecauseOfBuildInProgress Deprecated. useBlockedBecauseOfBuildInProgressinstead.AbstractProject.BecauseOfDownstreamBuildInProgress Because the downstream build is in progress, and we are configured to wait for that.AbstractProject.BecauseOfUpstreamBuildInProgress Because the upstream build is in progress, and we are configured to wait for that.AbstractProject.LabelValidator Deprecated. UseLabelValidatorinstead.AbstractStatusIcon Partial base class forStatusIcon.Actionable ModelObjectthat can have additionalActions.AdministrativeMonitor Checks the health of a subsystem of Jenkins and if there's something that requires administrator's attention, notify the administrator.AllView Viewthat contains everything.AllView.DescriptorImpl AperiodicWork Extension point which allows scheduling a task with variable interval.Api Used to expose remote access API for ".../api/"AsyncAperiodicWork AperiodicWorkthat takes a long time to run.AsyncPeriodicWork PeriodicWorkthat takes a long time to run.AutoCompletionCandidates Data representation of the auto-completion candidates.BooleanParameterDefinition ParameterDefinitionthat is either 'true' or 'false'.BooleanParameterDefinition.DescriptorImpl BooleanParameterValue ParameterValuecreated fromBooleanParameterDefinition.Build<P extends Project<P,B>,B extends Build<P,B>> A build of aProject.BuildAuthorizationToken Deprecated. 2008-07-20 UseACLandItem.BUILD.BuildAuthorizationToken.ConverterImpl BuildStepListener Receives events that happen as a build executesBuildSteps.BuildTimelineWidget Deprecated. since 2.431BuildVariableContributor Contributes build variables to builds.Cause Cause object base class.Cause.LegacyCodeCause Deprecated. since 2009-02-08Cause.RemoteCause Cause.UpstreamCause A build is triggered by another build (AKA upstream build.)Cause.UpstreamCause.ConverterImpl Cause.UpstreamCause.DeeplyNestedUpstreamCause Cause.UserCause Deprecated. 1.428 useCause.UserIdCauseCause.UserIdCause A build is started by an user action.CauseAction CauseAction.ConverterImpl CheckPoint Provides a mechanism for synchronizing build executions in the face of concurrent builds.ChoiceParameterDefinition ChoiceParameterDefinition.DescriptorImpl Computer Represents the running state of a remote computer that holdsExecutors.Computer.DisplayExecutor A value class to provide a consistent snapshot view of the state of an executor to avoid race conditions during rendering of the executors list.Computer.DisplayExecutor.InternalComputerListener ComputerPanelBox Adds box rendered in the computer side panel.ComputerPinger A way to see if a computer is reachable.ComputerPinger.BuiltInComputerPinger Default pinger - use Java built-in functionality.ComputerSet Serves as the top ofComputers in the URL hierarchy.ComputerSet.DescriptorImpl DependencyGraph Maintains the build dependencies betweenAbstractProjects for efficient dependency computation.DependencyGraph.Dependency Represents an edge in the dependency graph.Descriptor<T extends Describable<T>> Metadata about a configurable instance.Descriptor.PropertyType Represents a readable property onDescribable.Descriptor.Self Special type indicating thatDescriptordescribes itself.DescriptorVisibilityFilter HidesDescriptors from users.DirectoryBrowserSupport Has convenience methods to serve file system.DirectoryBrowserSupport.Path Represents information about one file or folder.DisplayNameListener DownloadService Service for plugins to periodically retrieve update data files (like the one in the update center) through browsers.DownloadService.Downloadable Represents a periodically updated JSON data file obtained from a remote URL.DownloadService.DownloadableListener This installs itself as a listener to changes to the Downloadable extension list and will download the metadata for any newly added Downloadables.Environment Represents some resources that are set up for the duration of a build to be torn down when the build is over.EnvironmentContributor Contributes environment variables to builds.EnvironmentContributor.EnvVarsHtml Serves the combined list of environment variables available from this plugin.EnvironmentList List ofEnvironment.Executor Thread that executes builds.FileParameterDefinition ParameterDefinitionfor doing file upload.FileParameterDefinition.DescriptorImpl FileParameterValue FileParameterValue.FileItemImpl Default implementation fromFile.Fingerprint A file being tracked by Jenkins.Fingerprint.BuildPtr Pointer to aBuild.Fingerprint.ProjectRenameListener Fingerprint.Range Range of build numbers [start,end).Fingerprint.RangeItem Fingerprint.RangeSet Set ofFingerprint.Ranges.Fingerprint.RangeSet.ConverterImpl Converter Implementation for RangeSet.FingerprintCleanupThread Scans the fingerprint database and remove old records that are no longer relevant.FingerprintMap Cache ofFingerprints.FreeStyleBuild FreeStyleProject Free-style software project.FreeStyleProject.DescriptorImpl FullDuplexHttpChannel Deprecated. Unused.HealthReport Represents health of something (typically project).HealthReport.ConverterImpl Fix deserialization of older data.Hudson Hudson.CloudList Deprecated. only here for backward compHudson.MasterComputer Deprecated. only here for backward compInvisibleAction PartialActionimplementation that doesn't have any UI presence (unless theInvisibleAction.getUrlName()is overrided).ItemGroupMixIn Defines a bunch of static methods to be used as a "mix-in" forItemGroupimplementations.Items Convenience methods related toItem.ItemVisitor JDK Information about JDK installation.JDK.ConverterImpl JDK.DescriptorImpl Job<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT>> A job is an runnable entity under the monitoring of Hudson.Job.LastItemListener Job.SubItemBuildsLocationImpl JobProperty<J extends Job<?,?>> Extensible property ofJob.JobPropertyDescriptor DescriptorforJobProperty.Jobs Deprecated. since 1.281Label Group ofNodes.Label.ConverterImpl LabelFinder Automatically adds labels toNodes.ListView DisplaysJobs in a flat list view.ListView.DescriptorImpl ListView.Listener LoadBalancer Strategy that decides whichQueue.Taskgets run on whichExecutor.LoadStatistics Utilization statistics for a node or a set of nodes.LoadStatistics.LoadStatisticsSnapshot Holds a snapshot of the current statistics.LoadStatistics.LoadStatisticsSnapshot.Builder Use a builder so we can add more stats if needed.LoadStatistics.LoadStatisticsUpdater Periodically update the load statistics average.ManageJenkinsAction Adds the "Manage Jenkins" link to the top page.ManagementLink Extension point to add icon tohttp://server/hudson/managepage.Messages Generated localization support class.MultiStageTimeSeries Maintains severalTimeSerieswith 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.MultiStageTimeSeries.TrendChart Represents the trend chart that consists of severalMultiStageTimeSeries.MyView Viewthat only contains projects for which the current user has access to.MyView.DescriptorImpl MyViewsProperty A UserProperty that remembers user-private views.MyViewsProperty.DescriptorImpl MyViewsProperty.GlobalAction Node Base type of Jenkins agents (although in practice, you probably extendSlaveto define a new agent type).Node.InternalComputerListener Let Nodes be aware of the lifecycle of their ownComputer.NoFingerprintMatch OneOffExecutor Executorthat's temporarily added to carry out tasks that doesn't consume regular executors, like a matrix project parent build.OverallLoadStatistics LoadStatisticsfor the entire system (the master and all the agents combined), and all the jobs that are running on it.PageDecorator Participates in the rendering of HTML pages for all pages of Hudson.PaneStatusProperties PaneStatusProperties.DescriptorImpl ParameterDefinition Defines a parameter for a build.ParameterDefinition.ParameterDescriptor ParametersAction Records the parameter values used for a build.ParametersDefinitionProperty Keeps a list of the parameters defined for a project.ParametersDefinitionProperty.DescriptorImpl ParameterValue A value for a parameter in a build.PasswordParameterDefinition Parameter whose value is aSecretand is hidden from the UI.PasswordParameterDefinition.ParameterDescriptorImpl PasswordParameterValue PeriodicWork Extension point to perform a periodic task in Hudson (throughTimer.)PermalinkProjectAction.Permalink Permalink as a strategy pattern.Project<P extends Project<P,B>,B extends Build<P,B>> Buildable software project.ProxyView A view that delegates to another.ProxyView.DescriptorImpl Queue Build queue.Queue.BuildableItem Queue.Itemin theQueue.buildablesstage.Queue.Item Item in a queue.Queue.JobOffer Data structure created for each idleExecutor.Queue.LeftItem Queue.Itemin theQueue.leftItemsstage.Queue.NotWaitingItem Common part betweenQueue.BlockedItemandQueue.BuildableItem.Queue.QueueDecisionHandler Extension point for deciding if particular job should be scheduled or not.Queue.Saver ScheduleQueue.save()call for near future once items change.Queue.State Simple queue state persistence object.Queue.StubItem A Stub class forQueue.Itemwhich exposes only the name of the Task to be displayed when the user has DISCOVERY permissions only.Queue.StubTask A Stub class forQueue.Taskwhich exposes only the name of the Task to be displayed when the user has DISCOVERY permissions only.Queue.WaitingItem Queue.Itemin theQueue.waitingListstage.Resource Represents things thatQueue.Executableuses while running.ResourceController Controls mutual exclusion ofResourceList.ResourceList List ofResources that an activity needs.RestartListener Extension point that allows plugins to veto the restart.RestartListener.Default Default logic.Result The build outcome.Result.OptionHandlerImpl RSS RSS related code.Run<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT>> A particular execution ofJob.Run.RedirectUp Run.StatusSummarizer Used to implementRun.getBuildStatusSummary().Run.Summary RunMap<R extends Run<?,R>> RunParameterDefinition RunParameterDefinition.DescriptorImpl RunParameterValue SimpleParameterDefinition Convenient base class forParameterDefinitionwhose value can be represented in a context-independent single string token.Slave Information about a Hudson agent node.Slave.JnlpJar Web-bound object used to serve jar files for inbound connections.Slave.SlaveDescriptor StockStatusIcon StatusIconfor stock icon in Hudson.StreamBuildListener BuildListenerthat writes to anOutputStream.StringParameterDefinition Parameter whose value is a string value.StringParameterDefinition.DescriptorImpl StringParameterValue ParameterValuecreated fromStringParameterDefinition.TaskAction PartialActionimplementation for those who kick some processing asynchronously (such as SCM tagging.)TaskThread Threadfor performing one-off task.TaskThread.ListenerAndText Tuple ofTaskListenerandAnnotatedLargeText, representing the interface for producing output and how to retrieve it later.TextParameterDefinition StringParameterDefinitionthat uses textarea, instead of text box.TextParameterDefinition.DescriptorImpl TextParameterValue TimeSeries Scalar value that changes over the time (such as load average, Q length, # of executors, etc.)TimeZoneProperty A UserProperty that allows a user to specify a time zone for displaying time.TimeZoneProperty.DescriptorImpl TopLevelItemDescriptor DescriptorforTopLevelItems.TransientBuildActionFactory Deprecated. Does not contribute toActionable.getActions().TransientComputerActionFactory TransientProjectActionFactory Extension point for inserting transientActions intoAbstractProjects.TransientUserActionFactory TransientViewActionFactory UpdateCenter Controls update center capability.UpdateCenter.CoreUpdateMonitor AdministrativeMonitorthat checks if there's Jenkins update.UpdateCenter.PluginEntry Deprecated. UpdateCenter.UpdateCenterConfiguration Strategy object for controlling the update center's behaviors.UpdateSite Source of the update center information, like "http://jenkins-ci.org/update-center.json"UpdateSite.Deprecation Represents a deprecation of a certain component.UpdateSite.Entry UpdateSite.IssueTracker Metadata for one issue tracker provided by the update site.UpdateSite.WarningVersionRange A version range forWarnings indicates which versions of a given plugin are affected by it.UsageStatistics UsageStatistics.CombinedCipherInputStream The opposite of theUsageStatistics.CombinedCipherOutputStream.UsageStatistics.CombinedCipherOutputStream Asymmetric cipher is slow and in case of Sun RSA implementation it can only encrypt the first block.User Represents a user.User.AllUsers User.CanonicalIdResolver Resolves User IDs by ID, full names or other strings.User.FullNameIdResolver Resolve user ID from full nameUser.UserIDCanonicalIdResolver Tries to verify if an ID is valid.UserIdMapper UserProperty Extensible property ofUser.UserPropertyDescriptor DescriptorforUserProperty.View Encapsulates the rendering of the list ofTopLevelItems thatJenkinsowns.View.PropertyList ViewDescriptor DescriptorforView.ViewGroupMixIn ImplementsViewGroupto be used as a "mix-in".ViewJob<JobT extends ViewJob<JobT,RunT>,RunT extends Run<JobT,RunT>> Jobthat monitors activities that happen outside Hudson, which requires occasional batch reload activity to obtain the up-to-date information.ViewProperty Extensible property ofView.ViewPropertyDescriptor WorkspaceBrowser Allows to access a workspace as an alternative to online build node.WorkspaceCleanupThread Clean up old left-over workspaces from agents.WorkspaceListener -
Enum Summary Enum Description BallColor Ball color used for the build status indication.ManagementLink.Category Categories supported by this version of core.MultiStageTimeSeries.TimeScale Choose which datapoint to use.Node.Mode Constants that control how Hudson allocates jobs to agents.ResultTrend Describes anResulttrend by taking the comparing the result of the current and the previous build.RunParameterDefinition.RunParameterFilter Constants that control how Run Parameter is filtered.UpdateSite.WarningType -
Exception Summary Exception Description Computer.TerminationRequest Used to trace requests to terminate a computer.Descriptor.FormException Failure Represents an error induced by user, encountered during HTTP request processing.Run.RunnerAbortedException Used inRun.RunExecution.run(hudson.model.BuildListener)to indicates that a fatal error in a build is reported toBuildListenerand the build should be simply aborted without further recording a stack trace.