Package | Description |
---|---|
hudson | |
hudson.cli.handlers |
OptionHandler implementations for Hudson. |
hudson.console |
Beef up the plain text console output by adding HTML markup.
|
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.model.listeners |
Listener interfaces for various events that occur inside the server.
|
hudson.tasks | |
hudson.triggers |
Built-in Triggers that run periodically to kick a new build.
|
jenkins.model | |
jenkins.model.lazy | |
jenkins.triggers |
Modifier and Type | Method and Description |
---|---|
static String |
Functions.getRelativeDisplayNameFrom(Item p,
ItemGroup g)
Gets the relative display name to the given item from the specified group.
|
static String |
Functions.getRelativeLinkTo(Item p)
Computes the relative path from the current page to the given item.
|
static String |
Functions.getRelativeNameFrom(Item p,
ItemGroup g)
Gets the name to the given item relative to given group.
|
static String |
Functions.getRelativeNameFrom(Item p,
ItemGroup g,
boolean useDisplayName)
Gets the relative name or display name to the given item from the specified group.
|
static String |
Functions.toCCStatus(Item i)
Converts the Hudson build status to CruiseControl build status,
which is either Success, Failure, Exception, or Unknown.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericItemOptionHandler<T extends Item>
Refers to an
Item by its name. |
Modifier and Type | Method and Description |
---|---|
static String |
ModelHyperlinkNote.encodeTo(Item item) |
static String |
ModelHyperlinkNote.encodeTo(Item item,
String text) |
Modifier and Type | Interface and Description |
---|---|
interface |
ItemGroup<T extends Item>
Represents a grouping inherent to a kind of
Item s. |
interface |
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. |
Modifier and Type | Interface and Description |
---|---|
interface |
BuildableItem
Item that can be "built", for
whatever meaning of "build". |
interface |
BuildableItemWithBuildWrappers
AbstractProject that has associated BuildWrapper s. |
interface |
SCMedItem
Deprecated.
Implement
SCMTriggerItem instead. |
interface |
TopLevelItem
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractItem
Partial default implementation of
Item . |
class |
AbstractProject<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>
Base implementation of
Job s that build software. |
class |
FreeStyleProject
Free-style software project.
|
class |
Job<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT>>
A job is an runnable entity under the monitoring of Hudson.
|
class |
Project<P extends Project<P,B>,B extends Build<P,B>>
Buildable software project.
|
class |
ViewJob<JobT extends ViewJob<JobT,RunT>,RunT extends Run<JobT,RunT>>
Job that monitors activities that happen outside Hudson,
which requires occasional batch reload activity to obtain the up-to-date information. |
Modifier and Type | Field and Description |
---|---|
static Function1<String,Item> |
ItemGroupMixIn.KEYED_BY_NAME
Item -> name function. |
Modifier and Type | Method and Description |
---|---|
static <T extends Item> |
Items.findNearest(Class<T> type,
String name,
ItemGroup context)
Finds an item whose name (when referenced from the specified context) is closest to the given name.
|
static <T extends Item> |
Items.fromNameList(ItemGroup context,
String list,
Class<T> type)
Does the opposite of
Items.toNameList(Collection) . |
static <T extends Item> |
Items.fromNameList(String list,
Class<T> type)
Deprecated.
as of 1.406
Use
Items.fromNameList(ItemGroup, String, Class) |
static <T extends Item> |
Items.getAllItems(ItemGroup root,
Class<T> type)
|
static <K,V extends Item> |
ItemGroupMixIn.loadChildren(ItemGroup parent,
File modulesDir,
Function1<? extends K,? super V> key)
Loads all the child
Item s. |
static <T extends Item> |
AutoCompletionCandidates.ofJobNames(Class<T> type,
String value,
ItemGroup container)
Auto-completes possible job names.
|
static <T extends Item> |
AutoCompletionCandidates.ofJobNames(Class<T> type,
String value,
Item self,
ItemGroup container)
Auto-completes possible job names.
|
Modifier and Type | Method and Description |
---|---|
Item |
Project.asItem() |
Item |
AllView.doCreateItem(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
Item |
ProxyView.doCreateItem(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
Item |
ListView.doCreateItem(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
abstract Item |
View.doCreateItem(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Creates a new
Item in this collection. |
static Item |
Items.load(ItemGroup parent,
File dir)
Loads a
Item from a config file. |
Modifier and Type | Method and Description |
---|---|
ItemGroup<? extends Item> |
Item.getParent()
Gets the parent that contains this item.
|
Modifier and Type | Method and Description |
---|---|
static XmlFile |
Items.getConfigFile(Item item)
The file we save our configuration.
|
String |
AbstractItem.getRelativeNameFrom(Item item) |
String |
Item.getRelativeNameFrom(Item item)
Short for
getRelativeNameFrom(item.getParent()) |
static <T extends Item> |
AutoCompletionCandidates.ofJobNames(Class<T> type,
String value,
Item self,
ItemGroup container)
Auto-completes possible job names.
|
void |
DisplayNameListener.onCopied(Item src,
Item item) |
void |
Job.LastItemListener.onCopied(Item src,
Item item) |
void |
AbstractItem.onCopiedFrom(Item src)
When a
Item is copied from existing one,
the files are first copied on the file system,
then it will be loaded, then this method will be invoked
to perform any implementation-specific work. |
void |
Job.onCopiedFrom(Item src) |
void |
Item.onCopiedFrom(Item src)
When a
Item is copied from existing one,
the files are first copied on the file system,
then it will be loaded, then this method will be invoked
to perform any implementation-specific work. |
void |
ListView.Listener.onDeleted(Item item) |
void |
ItemVisitor.onItem(Item i)
Visits an
Item . |
void |
View.onJobRenamed(Item item,
String oldName,
String newName)
Deprecated.
Does not work properly with moved jobs. Use
ItemListener.onLocationChanged(hudson.model.Item, java.lang.String, java.lang.String) instead. |
void |
ListView.Listener.onLocationChanged(Item item,
String oldFullName,
String newFullName) |
void |
Fingerprint.ProjectRenameListener.onLocationChanged(Item item,
String oldName,
String newName) |
void |
DisplayNameListener.onRenamed(Item item,
String oldName,
String newName) |
Modifier and Type | Method and Description |
---|---|
static boolean |
View.People.isApplicable(Collection<? extends Item> items)
Deprecated.
Potentially very expensive call; do not use from Jelly views.
|
void |
AbstractItem.onLoad(ItemGroup<? extends Item> parent,
String name)
Called right after when a
Item is loaded from disk. |
void |
AbstractProject.onLoad(ItemGroup<? extends Item> parent,
String name) |
void |
Job.onLoad(ItemGroup<? extends Item> parent,
String name) |
void |
ViewJob.onLoad(ItemGroup<? extends Item> parent,
String name) |
void |
Item.onLoad(ItemGroup<? extends Item> parent,
String name)
Called right after when a
Item is loaded from disk. |
void |
Project.onLoad(ItemGroup<? extends Item> parent,
String name) |
static String |
Items.toNameList(Collection<? extends Item> items)
Converts a list of items into a comma-separated list of full names.
|
Modifier and Type | Method and Description |
---|---|
static void |
ItemListener.fireLocationChange(Item rootItem,
String oldFullName)
|
static void |
ItemListener.fireOnCopied(Item src,
Item result) |
static void |
ItemListener.fireOnCreated(Item item) |
static void |
ItemListener.fireOnDeleted(Item item) |
static void |
ItemListener.fireOnUpdated(Item item) |
void |
ItemListener.onCopied(Item src,
Item item)
Called after a new job is created by copying from an existing job.
|
void |
ItemListener.onCreated(Item item)
Called after a new job is created and added to
Jenkins ,
before the initial configuration page is provided. |
void |
ItemListener.onDeleted(Item item)
Called right before a job is going to be deleted.
|
void |
ItemListener.onLocationChanged(Item item,
String oldFullName,
String newFullName)
Called after an item’s fully-qualified location has changed.
|
void |
ItemListener.onRenamed(Item item,
String oldName,
String newName)
Called after a job is renamed.
|
void |
ItemListener.onUpdated(Item item)
Called after a job has its configuration updated.
|
Modifier and Type | Method and Description |
---|---|
AutoCompletionCandidates |
BuildTrigger.DescriptorImpl.doAutoCompleteChildProjects(String value,
Item self,
ItemGroup container) |
void |
BuildTrigger.DescriptorImpl.ItemListenerImpl.onLocationChanged(Item item,
String oldFullName,
String newFullName) |
Modifier and Type | Class and Description |
---|---|
class |
Trigger<J extends Item>
Triggers a
Build . |
Modifier and Type | Field and Description |
---|---|
protected J |
Trigger.job |
Modifier and Type | Method and Description |
---|---|
Item |
SCMTrigger.SCMAction.getItem() |
Modifier and Type | Method and Description |
---|---|
FormValidation |
TimerTrigger.DescriptorImpl.doCheck(String value,
Item item) |
FormValidation |
TimerTrigger.DescriptorImpl.doCheckSpec(String value,
Item item)
Performs syntax check.
|
static List<TriggerDescriptor> |
Trigger.for_(Item i)
Returns a subset of
TriggerDescriptor s that applys to the given item. |
static List<TriggerDescriptor> |
Triggers.getApplicableTriggers(Item i)
Deprecated.
as of 1.286
Use
Trigger.for_(Item) . |
boolean |
SCMTrigger.DescriptorImpl.isApplicable(Item item) |
abstract boolean |
TriggerDescriptor.isApplicable(Item item)
Returns true if this trigger is applicable to the
given
Item . |
boolean |
TimerTrigger.DescriptorImpl.isApplicable(Item item) |
Modifier and Type | Interface and Description |
---|---|
static interface |
ParameterizedJobMixIn.ParameterizedJob
Marker for job using this mixin.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTopLevelItem
Default base implementation of
TopLevelItem . |
Modifier and Type | Method and Description |
---|---|
<T extends Item> |
Jenkins.getAllItems(Class<T> type)
|
<T extends Item> |
Jenkins.getItem(String pathName,
Item context,
Class<T> type) |
<T extends Item> |
Jenkins.getItem(String pathName,
ItemGroup context,
Class<T> type) |
<T extends Item> |
Jenkins.getItemByFullName(String fullName,
Class<T> type)
Gets the
Item object by its full name. |
Modifier and Type | Method and Description |
---|---|
Item |
Jenkins.getItem(String pathName,
Item context) |
Item |
Jenkins.getItem(String pathName,
ItemGroup context)
Gets the item by its path name from the given context
|
Item |
Jenkins.getItemByFullName(String fullName) |
Modifier and Type | Method and Description |
---|---|
List<Item> |
Jenkins.getAllItems()
Gets all the items recursively.
|
Modifier and Type | Method and Description |
---|---|
Item |
Jenkins.getItem(String pathName,
Item context) |
<T extends Item> |
Jenkins.getItem(String pathName,
Item context,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
void |
LazyBuildMixIn.ItemListenerImpl.onLocationChanged(Item item,
String oldFullName,
String newFullName) |
Modifier and Type | Method and Description |
---|---|
void |
LazyBuildMixIn.onLoad(ItemGroup<? extends Item> parent,
String name)
Something to be called from
Job.onLoad(hudson.model.ItemGroup<? extends hudson.model.Item>, java.lang.String) . |
Modifier and Type | Method and Description |
---|---|
Item |
SCMTriggerItem.asItem()
Should be
this . |
Modifier and Type | Method and Description |
---|---|
static SCMTriggerItem |
SCMTriggerItem.SCMTriggerItems.asSCMTriggerItem(Item item)
See whether an item can be coerced to
SCMTriggerItem . |
AutoCompletionCandidates |
ReverseBuildTrigger.DescriptorImpl.doAutoCompleteUpstreamProjects(String value,
Item self,
ItemGroup container) |
boolean |
ReverseBuildTrigger.DescriptorImpl.isApplicable(Item item) |
void |
ReverseBuildTrigger.ItemListenerImpl.onLocationChanged(Item item,
String oldFullName,
String newFullName) |
Copyright © 2016. All rights reserved.