Uses of Interface
hudson.model.Action
Package
Description
Server-side CLI commands for Hudson.
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Boolean expression over labels.
Jenkins's interface with source code management systems.
Security-related code.
Built-in
Trigger
s that run periodically to kick a new build.-
Uses of Action in hudson
Modifier and TypeClassDescriptionclass
Show "About Jenkins" link.class
Deprecated.Unused.Modifier and TypeMethodDescriptionstatic String
Functions.getActionUrl
(String itUrl, Action action) Computes the hyperlink to actions, to handle the situation when thegetUrlName()
returns absolute URL.static String
Functions.getIconFilePath
(Action a) Computes the path to the icon of the given action from the context path.static boolean
Functions.isContextMenuVisible
(Action a) -
Uses of Action in hudson.cli
-
Uses of Action in hudson.diagnosis
-
Uses of Action in hudson.lifecycle
Modifier and TypeClassDescriptionclass
ManagementLink
that allows the installation as a Windows service. -
Uses of Action in hudson.model
Modifier and TypeInterfaceDescriptioninterface
Action
that puts a little icon (or icons) next to the build in the build history.interface
Action
that contributes environment variables during a build.interface
AnAction
that can return information about the health of the Job.interface
Optional interface forAction
s that are attached toAbstractProject
(throughJobProperty.getJobActions(Job)
), which allows plugins to define additional permalinks in the project.interface
Marker interface forAction
s that should be displayed at the top of the project page.static interface
An optional interface for actions on Queue.Item.interface
Marker interface for actions that are added toJenkins
.interface
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.interface
RootAction
s that are accessible to requests that do not have the READ permission onJenkins
.Modifier and TypeClassDescriptionclass
static class
Serves the combined list of environment variables available from this plugin.class
PartialAction
implementation that doesn't have any UI presence (unless theInvisibleAction.getUrlName()
is overrided).class
Adds the "Manage Jenkins" link to the top page.class
Extension point to add icon tohttp://server/hudson/manage
page.class
A UserProperty that remembers user-private views.static class
class
Records the parameter values used for a build.class
Keeps a list of the parameters defined for a project.final class
BuildBadgeAction
that shows the build is being kept.class
PartialAction
implementation for those who kick some processing asynchronously (such as SCM tagging.)Modifier and TypeFieldDescriptionAbstractProject.transientActions
Action
s contributed from subsidiary objects associated withAbstractProject
, such as from triggers, builders, publishers, etc.Computer.transientActions
Modifier and TypeMethodDescription<T extends Action>
TGets the action (first instance to be found) of a specified type that contributed to this build.Actionable.getActions
(Class<T> type) Gets all actions of a specified type that contributed to this object.Modifier and TypeMethodDescriptionActionable.getAction
(int index) Deprecated.No clear purpose, since subclasses may have overriddenActionable.getActions()
, and does not considerTransientActionFactory
.AbstractBuild.getAggregatedTestResultAction()
Deprecated.UseActionable.getAction(Class)
onAggregatedTestResultAction
.JobProperty.getJobAction
(J job) Deprecated.as of 1.341.final Action
JobProperty.getProjectAction
(AbstractProject<?, ?> project) AbstractBuild.getTestResultAction()
Deprecated.UseActionable.getAction(Class)
onAbstractTestResultAction
.Modifier and TypeMethodDescriptionTransientComputerActionFactory.createAllFor
(Computer target) CreatesAction
s for a node, using all registeredTransientComputerActionFactory
s.TransientViewActionFactory.createAllFor
(View v) CreatesAction
s for a view, using all registeredTransientViewActionFactory
s.Collection<? extends Action>
TransientBuildActionFactory.createFor
(AbstractBuild target) Deprecated.as of 1.461 Override and callTransientBuildActionFactory.createFor(Run)
instead.Collection<? extends Action>
Deprecated.Creates actions for the given build.abstract Collection<? extends Action>
Creates actions for the given computer.abstract Collection<? extends Action>
TransientProjectActionFactory.createFor
(AbstractProject target) Creates actions for the given project.Collection<? extends Action>
Creates actions for the given user.returns a list of (transient) actions never null, may be emptyAbstractProject.createTransientActions()
Project.createTransientActions()
AbstractProject.getActions()
Gets actions contributed to this object.Actionable.getActions()
Deprecated.Normally outside code should not call this method any more.Computer.getActions()
Returns the transientAction
s associated with the computer.Fingerprint.getActions()
Returns the actions contributed fromFingerprint.getFacets()
View.getActions()
Returns the transientAction
s associated with the top page.Actionable.getAllActions()
Gets all actions, transient or persistent.Collection<? extends Action>
JobProperty.getJobActions
(J job) Action
s to be displayed in the job page.ParametersDefinitionProperty.getJobActions
(AbstractProject<?, ?> job) Deprecated.ParametersDefinitionProperty.getJobActions
(Job<?, ?> job) View.getOwnerViewActions()
Deprecated.callViewGroup.getViewActions()
directlyAbstractBuild.getPersistentActions()
final Collection<? extends Action>
JobProperty.getProjectActions
(AbstractProject<?, ?> project) User.getPropertyActions()
Return all properties that are also actions.Run.getTransientActions()
Deprecated.UseActionable.getAllActions()
instead.User.getTransientActions()
Return all transient actions associated with this user.MyViewsProperty.getViewActions()
ViewGroup.getViewActions()
Returns actions that should be displayed in views.Modifier and TypeMethodDescriptionboolean
Queue.add
(Queue.Task p, int quietPeriod, Action... actions) Deprecated.as of 1.311 UseQueue.schedule(Task, int, Action...)
void
Adds a new action.void
Adds a new action.void
void
Adds a new action.boolean
Actionable.addOrReplaceAction
(Action a) Add an action, replacing any existing actions of the (exact) same class.boolean
Actionable.removeAction
(Action a) Remove an action.void
Actionable.replaceAction
(Action a) Add an action, replacing any existing actions of the (exact) same class.boolean
Actionable.replaceActions
(Class<? extends Action> clazz, Action a) Replaces any actions of the specified type by the supplied action.Queue.schedule
(Queue.Task p, int quietPeriod, Action... actions) Convenience wrapper method aroundQueue.schedule(Task, int, List)
Queue.schedule2
(Queue.Task p, int quietPeriod, Action... actions) Convenience wrapper method aroundQueue.schedule2(Task, int, List)
boolean
AbstractProject.scheduleBuild
(int quietPeriod, Cause c, Action... actions) Schedules a build.AbstractProject.scheduleBuild2
(int quietPeriod, Action... actions) AbstractProject.scheduleBuild2
(int quietPeriod, Cause c, Action... actions) Schedules a build of this project, and returns aFuture
object to wait for the completion of the build.Modifier and TypeMethodDescriptionvoid
CauseAction.foldIntoExisting
(Queue.Item item, Queue.Task owner, List<Action> otherActions) boolean
Actionable.removeActions
(Class<? extends Action> clazz) Removes any actions of the specified type.boolean
Actionable.replaceActions
(Class<? extends Action> clazz, Action a) Replaces any actions of the specified type by the supplied action.Queue.schedule
(Queue.Task p, int quietPeriod, List<Action> actions) Deprecated.as of 1.521 UseQueue.schedule2(Task, int, List)
Queue.schedule2
(Queue.Task p, int quietPeriod, List<Action> actions) Schedules an execution of a task.AbstractProject.scheduleBuild2
(int quietPeriod, Cause c, Collection<? extends Action> actions) Schedules a build of this project, and returns aFuture
object to wait for the completion of the build.boolean
ParametersAction.shouldSchedule
(List<Action> actions) Allow an other build of the same project to be scheduled, if it has other parameters.boolean
Queue.QueueAction.shouldSchedule
(List<Action> actions) Returns whether the new item should be scheduled.abstract boolean
Queue.QueueDecisionHandler.shouldSchedule
(Queue.Task p, List<Action> actions) Returns whether the new item should be scheduled.boolean
DependencyGraph.Dependency.shouldTriggerBuild
(AbstractBuild build, TaskListener listener, List<Action> actions) Decide whether build should be triggered and provide any Actions for the build.ModifierConstructorDescriptionprotected
Item
(Queue.Task task, List<Action> actions, long id, FutureImpl future) protected
Item
(Queue.Task task, List<Action> actions, long id, FutureImpl future, long inQueueSince) WaitingItem
(Calendar timestamp, Queue.Task project, List<Action> actions) -
Uses of Action in hudson.model.labels
Modifier and TypeInterfaceDescriptioninterface
Modifier and TypeMethodDescriptionLabelAtom.getActions()
Gets actions contributed to this object.Collection<? extends Action>
LabelAtomProperty.getActions
(LabelAtom atom) ContributesAction
s to the label. -
Uses of Action in hudson.model.queue
Modifier and TypeInterfaceDescriptioninterface
An action interface that allows action data to be folded together.Modifier and TypeMethodDescriptionvoid
FoldableAction.foldIntoExisting
(Queue.Item item, Queue.Task owner, List<Action> otherActions) Notifies that theQueue.Task
that "owns" this action (that is, the task for which this action is submitted) is considered as a duplicate. -
Uses of Action in hudson.model.userproperty
Modifier and TypeClassDescriptionclass
class
class
class
class
Modifier and TypeMethodDescriptionCollection<? extends Action>
Collection<? extends Action>
Collection<? extends Action>
Collection<? extends Action>
Collection<? extends Action>
-
Uses of Action in hudson.scm
Modifier and TypeClassDescriptionclass
Common part ofCVSSCM.TagAction
andSubversionTagAction
.class
Immutable object that represents revisions of the files in the repository, used to represent the result of a SCM polling. -
Uses of Action in hudson.security
Modifier and TypeClassDescriptionclass
Security configuration.static final class
Displays "manage users" link in the system config ifHudsonPrivateSecurityRealm
is in effect.class
Expose the data needed for /whoAmI, so it can be exposed by Api. -
Uses of Action in hudson.tasks
Modifier and TypeClassDescriptionstatic final class
Action for displaying fingerprints.Modifier and TypeMethodDescriptionBuildStep.getProjectAction
(AbstractProject<?, ?> project) Deprecated.as of 1.341.BuildStepCompatibilityLayer.getProjectAction
(AbstractProject<?, ?> project) Deprecated.BuildStepCompatibilityLayer.getProjectAction
(Project<?, ?> project) Deprecated.BuildWrapper.getProjectAction
(AbstractProject job) Deprecated.UseBuildWrapper.getProjectActions(AbstractProject)
instead.Publisher.getProjectAction
(Project project) Deprecated.since 1.150Modifier and TypeMethodDescriptionCollection<? extends Action>
BuildStep.getProjectActions
(AbstractProject<?, ?> project) Collection<? extends Action>
BuildStepCompatibilityLayer.getProjectActions
(AbstractProject<?, ?> project) Deprecated.Collection<? extends Action>
BuildWrapper.getProjectActions
(AbstractProject job) Action
s to be displayed in the job page. -
Uses of Action in hudson.triggers
Modifier and TypeClassDescriptionstatic class
Associated withRun
to show the polling log that triggered that build.final class
Action object for job.Modifier and TypeMethodDescriptionTrigger.getProjectAction()
Deprecated.as of 1.341 UseTrigger.getProjectActions()
instead.Modifier and TypeMethodDescriptionCollection<? extends Action>
SCMTrigger.getProjectActions()
Collection<? extends Action>
Trigger.getProjectActions()
Action
s to be displayed in the job page.Modifier and TypeMethodDescriptionvoid
Run the SCM trigger with additional build actions. -
Uses of Action in jenkins
-
Uses of Action in jenkins.agents
-
Uses of Action in jenkins.appearance
-
Uses of Action in jenkins.management
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
-
Uses of Action in jenkins.model
Modifier and TypeInterfaceDescriptionstatic interface
Allows an action to decide whether it will be visible in a context menu.interface
Modifier and TypeClassDescriptionclass
Serves files located in the/assets
classpath directory via the Jenkins core ClassLoader.class
Deprecated.Replaced byCloudsLink
andCloudSet
.class
Action added toRun
to record the cause of interruption.class
static class
static class
class
Modifier and TypeMethodDescriptionTransientActionFactory.actionType()
A supertype of any actions this factory might produce.Collection<? extends Action>
RenameAction.TransientActionFactoryImpl.createFor
(AbstractItem target) abstract Collection<? extends Action>
Creates actions for a given object.Jenkins.getActions()
Returns the transientAction
s associated with the top page.Jenkins.getViewActions()
Modifier and TypeMethodDescriptiondefault QueueTaskFuture<RunT>
ParameterizedJobMixIn.ParameterizedJob.scheduleBuild2
(int quietPeriod, Action... actions) Provides a standard implementation ofSCMTriggerItem.scheduleBuild2(int, hudson.model.Action...)
to schedule a build with the ability to wait for its result.final QueueTaskFuture<RunT>
ParameterizedJobMixIn.scheduleBuild2
(int quietPeriod, Action... actions) Standard implementation ofParameterizedJobMixIn.ParameterizedJob.scheduleBuild2(int, hudson.model.Action...)
.static Queue.Item
ParameterizedJobMixIn.scheduleBuild2
(Job<?, ?> job, int quietPeriod, Action... actions) Convenience method to schedule a build.Modifier and TypeMethodDescriptionModelObjectWithContextMenu.ContextMenu.addAll
(Collection<? extends Action> actions) void
FingerprintFacet.createActions
(List<Action> result) Create action objects to be contributed to the ownerFingerprint
. -
Uses of Action in jenkins.model.identity
Modifier and TypeClassDescriptionclass
A simple root action that exposes the public key to users so that they do not need to search for theX-Instance-Identity
response header, also exposes the fingerprint of the public key so that people can verify a fingerprint of a master before connecting to it. -
Uses of Action in jenkins.model.queue
Modifier and TypeMethodDescriptionlong
QueueIdStrategy.DefaultStrategy.generateIdFor
(Queue.Task project, List<Action> actions) abstract long
QueueIdStrategy.generateIdFor
(Queue.Task project, List<Action> actions) Generates a new ID for the given project and actions.boolean
ItemDeletion.shouldSchedule
(Queue.Task p, List<Action> actions) -
Uses of Action in jenkins.security
Modifier and TypeClassDescriptionclass
Root action servingDirectoryBrowserSupport
instances on random URLs to support resource URLs (second domain). -
Uses of Action in jenkins.tasks
Modifier and TypeInterfaceDescriptionstatic interface
Marker for explicitly added build actions (asRun.addAction(hudson.model.Action)
) which should imply a transient project action (Actionable.getActions()
) when present on theJob.getLastSuccessfulBuild()
.Modifier and TypeMethodDescriptionCollection<? extends Action>
Collection<? extends Action>
SimpleBuildStep.LastBuildAction.getProjectActions()
Optionally add some actions to the project owning this build.final Collection<? extends Action>
SimpleBuildWrapper.getProjectActions
(AbstractProject job) -
Uses of Action in jenkins.tools
-
Uses of Action in jenkins.triggers
Modifier and TypeMethodDescriptionSCMTriggerItem.scheduleBuild2
(int quietPeriod, Action... actions) -
Uses of Action in jenkins.websocket