Uses of Interface
hudson.model.Item
-
Packages that use Item Package Description hudson hudson.cli.handlers OptionHandlerimplementations 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 atJenkins.hudson.model.labels Boolean expression over labels.hudson.model.listeners Listener interfaces for various events that occur inside the server.hudson.model.queue hudson.tasks hudson.triggers Built-inTriggers that run periodically to kick a new build.jenkins.model jenkins.model.labels jenkins.model.lazy jenkins.model.queue jenkins.scm jenkins.triggers -
-
Uses of Item in hudson
Methods in hudson with parameters of type Item Modifier and Type Method Description static StringFunctions. getRelativeDisplayNameFrom(Item p, ItemGroup g)Gets the relative display name to the given item from the specified group.static StringFunctions. getRelativeLinkTo(Item p)Computes the relative path from the current page to the given item.static StringFunctions. getRelativeNameFrom(Item p, ItemGroup g)Gets the name to the given item relative to given group.static StringFunctions. getRelativeNameFrom(Item p, ItemGroup g, boolean useDisplayName)Gets the relative name or display name to the given item from the specified group.static StringFunctions. toCCStatus(Item i)Deprecated.This functionality has been moved to ccxml plugin. -
Uses of Item in hudson.cli.handlers
Classes in hudson.cli.handlers with type parameters of type Item Modifier and Type Class Description classGenericItemOptionHandler<T extends Item>Refers to anItemby its name. -
Uses of Item in hudson.console
Methods in hudson.console with parameters of type Item Modifier and Type Method Description static StringModelHyperlinkNote. encodeTo(Item item)static StringModelHyperlinkNote. encodeTo(Item item, String text) -
Uses of Item in hudson.model
Classes in hudson.model with type parameters of type Item Modifier and Type Interface Description interfaceItemGroup<T extends Item>Represents a grouping inherent to a kind ofItems.interfaceModifiableItemGroup<T extends Item>ItemGroupthat is a general purpose container, which allows users and the rest of the program to create arbitrary items into it.Subinterfaces of Item in hudson.model Modifier and Type Interface Description interfaceBuildableItemItemthat can be "built", for whatever meaning of "build".interfaceBuildableItemWithBuildWrappersAbstractProjectthat has associatedBuildWrappers.interfaceSCMedItemDeprecated.ImplementSCMTriggerIteminstead.interfaceTopLevelItemClasses in hudson.model that implement Item Modifier and Type Class Description classAbstractItemPartial default implementation ofItem.classAbstractProject<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>Base implementation ofJobs that build software.classFreeStyleProjectFree-style software project.classJob<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT>>A job is an runnable entity under the monitoring of Hudson.classProject<P extends Project<P,B>,B extends Build<P,B>>Buildable software project.classViewJob<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.Fields in hudson.model with type parameters of type Item Modifier and Type Field Description static Comparator<Item>Items. BY_FULL_NAMEA comparator ofIteminstances that uses a case-insensitive comparison ofgetFullName().static Comparator<Item>Items. BY_NAMEstatic Function1<String,Item>ItemGroupMixIn. KEYED_BY_NAMEItem→ name function.Methods in hudson.model with type parameters of type Item Modifier and Type Method Description default <T extends Item>
Iterable<T>ItemGroup. allItems(Class<T> type)default <T extends Item>
Iterable<T>ItemGroup. allItems(Class<T> type, Predicate<T> pred)static <T extends Item>
Iterable<T>Items. allItems(ItemGroup root, Class<T> type)Gets a read-only view of all theItems recursively in theItemGrouptree visible toJenkins.getAuthentication2()without concern for the order in which items are returned.static <T extends Item>
Iterable<T>Items. allItems(ItemGroup root, Class<T> type, Predicate<T> pred)Gets a read-only view of all theItems recursively matching type and predicate in theItemGrouptree visible toJenkins.getAuthentication2()without concern for the order in which items are returned.static <T extends Item>
Iterable<T>Items. allItems(Authentication authentication, ItemGroup root, Class<T> type)Deprecated.static <T extends Item>
Iterable<T>Items. allItems(Authentication authentication, ItemGroup root, Class<T> type, Predicate<T> pred)Deprecated.static <T extends Item>
Iterable<T>Items. allItems2(org.springframework.security.core.Authentication authentication, ItemGroup root, Class<T> type)static <T extends Item>
Iterable<T>Items. allItems2(org.springframework.security.core.Authentication authentication, ItemGroup root, Class<T> type, Predicate<T> pred)static <T extends Item>
TItems. 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>
List<T>Items. fromNameList(ItemGroup context, String list, Class<T> type)Does the opposite ofItems.toNameList(Collection).static <T extends Item>
List<T>Items. fromNameList(String list, Class<T> type)Deprecated.as of 1.406 UseItems.fromNameList(ItemGroup, String, Class)default <T extends Item>
List<T>ItemGroup. getAllItems(Class<T> type)default <T extends Item>
List<T>ItemGroup. getAllItems(Class<T> type, Predicate<T> pred)Similar toItemGroup.getAllItems(Class)with additional predicate filteringstatic <T extends Item>
List<T>Items. getAllItems(ItemGroup root, Class<T> type)static <T extends Item>
List<T>Items. getAllItems(ItemGroup root, Class<T> type, Predicate<T> pred)Similar toItems.getAllItems(ItemGroup, Class)but with a predicate to pre-filter items to avoid checking ACLs unnecessarily and returning items not required by the callerstatic <K,V extends Item>
Map<K,V>ItemGroupMixIn. loadChildren(ItemGroup parent, File modulesDir, Function1<? extends K,? super V> key)Loads all the childItems.static <T extends Item>
AutoCompletionCandidatesAutoCompletionCandidates. ofJobNames(Class<T> type, String value, ItemGroup container)Auto-completes possible job names.static <T extends Item>
AutoCompletionCandidatesAutoCompletionCandidates. ofJobNames(Class<T> type, String value, Item self, ItemGroup container)Auto-completes possible job names.Methods in hudson.model that return Item Modifier and Type Method Description ItemProject. asItem()ItemAllView. doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)ItemListView. doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)ItemProxyView. doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)abstract ItemView. doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)Creates a newItemin this collection.static ItemItems. load(ItemGroup parent, File dir)Loads aItemfrom a config file.Methods in hudson.model that return types with arguments of type Item Modifier and Type Method Description default Iterable<Item>ItemGroup. allItems()Gets all the items unordered, lazily and recursively.default List<Item>ItemGroup. getAllItems()Gets all the items recursively.ItemGroup<? extends Item>Item. getParent()Gets the parent that contains this item.Methods in hudson.model with parameters of type Item Modifier and Type Method Description FormValidationAbstractProject.LabelValidator. checkItem(Item item, Label label)Deprecated.Validates the use of a label within a particular context.static XmlFileItems. getConfigFile(Item item)The file we save our configuration.default StringItem. getRelativeNameFrom(Item item)Short forgetRelativeNameFrom(item.getParent())static <T extends Item>
AutoCompletionCandidatesAutoCompletionCandidates. ofJobNames(Class<T> type, String value, Item self, ItemGroup container)Auto-completes possible job names.voidDisplayNameListener. onCopied(Item src, Item item)Called after the user has clicked OK in the New Job page when Copy existing job has been selected.voidJob.LastItemListener. onCopied(Item src, Item item)voidAbstractItem. onCopiedFrom(Item src)When aItemis 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.voidItem. onCopiedFrom(Item src)When aItemis 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.voidJob. onCopiedFrom(Item src)voidListView.Listener. onDeleted(Item item)voidItemVisitor. onItem(Item i)Visits anItem.voidView. onJobRenamed(Item item, String oldName, String newName)Deprecated.Does not work properly with moved jobs.voidFingerprint.ProjectRenameListener. onLocationChanged(Item item, String oldName, String newName)voidJob.SubItemBuildsLocationImpl. onLocationChanged(Item item, String oldFullName, String newFullName)voidListView.Listener. onLocationChanged(Item item, String oldFullName, String newFullName)voidDisplayNameListener. onRenamed(Item item, String oldName, String newName)Called after the user has changed the project name of a job and then clicked on submit.Method parameters in hudson.model with type arguments of type Item Modifier and Type Method Description voidAbstractItem. onLoad(ItemGroup<? extends Item> parent, String name)Called right after when aItemis loaded from disk.voidAbstractProject. onLoad(ItemGroup<? extends Item> parent, String name)voidItem. onLoad(ItemGroup<? extends Item> parent, String name)Called right after when aItemis loaded from disk.voidJob. onLoad(ItemGroup<? extends Item> parent, String name)voidProject. onLoad(ItemGroup<? extends Item> parent, String name)voidViewJob. onLoad(ItemGroup<? extends Item> parent, String name)static StringItems. toNameList(Collection<? extends Item> items)Converts a list of items into a comma-separated list of full names. -
Uses of Item in hudson.model.labels
Methods in hudson.model.labels with parameters of type Item Modifier and Type Method Description static FormValidationLabelExpression. validate(String expression, Item item)Validates a label expression. -
Uses of Item in hudson.model.listeners
Methods in hudson.model.listeners with parameters of type Item Modifier and Type Method Description static voidItemListener. checkBeforeCopy(Item src, ItemGroup parent)Call before a job is copied into a new parent, to allow theItemListenerimplementations the ability to veto the copy operation before it starts.static voidItemListener. fireLocationChange(Item rootItem, String oldFullName)static voidItemListener. fireOnCopied(Item src, Item result)static voidItemListener. fireOnCreated(Item item)static voidItemListener. fireOnDeleted(Item item)static voidItemListener. fireOnUpdated(Item item)voidItemListener. onCheckCopy(Item src, ItemGroup parent)Called before a job is copied into a new parent, providing the ability to veto the copy operation before it starts.voidItemListener. onCopied(Item src, Item item)Called after a new job is created by copying from an existing job.voidItemListener. onCreated(Item item)Called after a new job is created and added toJenkins, before the initial configuration page is provided.voidItemListener. onDeleted(Item item)Called right before a job is going to be deleted.voidItemListener. onLocationChanged(Item item, String oldFullName, String newFullName)Called after an item’s fully-qualified location has changed.voidItemListener. onRenamed(Item item, String oldName, String newName)Called after a job is renamed.voidItemListener. onUpdated(Item item)Called after a job has its configuration updated. -
Uses of Item in hudson.model.queue
Methods in hudson.model.queue that return Item Modifier and Type Method Description static ItemTasks. getItemOf(SubTask t) -
Uses of Item in hudson.tasks
Methods in hudson.tasks with parameters of type Item Modifier and Type Method Description AutoCompletionCandidatesBuildTrigger.DescriptorImpl. doAutoCompleteChildProjects(String value, Item self, ItemGroup container)voidBuildTrigger.DescriptorImpl.ItemListenerImpl. onLocationChanged(Item item, String oldFullName, String newFullName) -
Uses of Item in hudson.triggers
Classes in hudson.triggers with type parameters of type Item Modifier and Type Class Description classTrigger<J extends Item>Triggers aBuild.Fields in hudson.triggers declared as Item Modifier and Type Field Description protected JTrigger. jobMethods in hudson.triggers that return Item Modifier and Type Method Description ItemSCMTrigger.SCMAction. getItem()Methods in hudson.triggers with parameters of type Item Modifier and Type Method Description FormValidationTimerTrigger.DescriptorImpl. doCheck(String value, Item item)FormValidationSCMTrigger.DescriptorImpl. doCheckScmpoll_spec(String value, boolean ignorePostCommitHooks, Item item)Performs syntax check.FormValidationTimerTrigger.DescriptorImpl. doCheckSpec(String value, Item item)Performs syntax check.static List<TriggerDescriptor>Trigger. for_(Item i)Returns a subset ofTriggerDescriptors that applies to the given item.static List<TriggerDescriptor>Triggers. getApplicableTriggers(Item i)Deprecated.as of 1.286 UseTrigger.for_(Item).booleanSCMTrigger.DescriptorImpl. isApplicable(Item item)booleanTimerTrigger.DescriptorImpl. isApplicable(Item item)abstract booleanTriggerDescriptor. isApplicable(Item item)Returns true if this trigger is applicable to the givenItem. -
Uses of Item in jenkins.model
Subinterfaces of Item in jenkins.model Modifier and Type Interface Description static interfaceParameterizedJobMixIn.ParameterizedJob<JobT extends Job<JobT,RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT,RunT> & Queue.Task,RunT extends Run<JobT,RunT> & Queue.Executable>Marker for job using this mixin, and default implementations of many methods.Classes in jenkins.model that implement Item Modifier and Type Class Description classAbstractTopLevelItemDefault base implementation ofTopLevelItem.Methods in jenkins.model with type parameters of type Item Modifier and Type Method Description <T extends Item>
TJenkins. getItem(String pathName, ItemGroup context, Class<T> type)<T extends Item>
TJenkins. getItem(String pathName, Item context, Class<T> type)<T extends Item>
TJenkins. getItemByFullName(String fullName, Class<T> type)Gets theItemobject by its full name.Methods in jenkins.model that return Item Modifier and Type Method Description ItemJenkins. getItem(String pathName, Item context)ItemJenkins. getItem(String pathName, ItemGroup context)Gets the item by its path name from the given contextItemJenkins. getItemByFullName(String fullName)Methods in jenkins.model with parameters of type Item Modifier and Type Method Description ItemJenkins. getItem(String pathName, Item context)<T extends Item>
TJenkins. getItem(String pathName, Item context, Class<T> type) -
Uses of Item in jenkins.model.labels
Methods in jenkins.model.labels with parameters of type Item Modifier and Type Method Description FormValidationLabelValidator. check(Item item, Label label)Validates the use of a label within a particular context. -
Uses of Item in jenkins.model.lazy
Methods in jenkins.model.lazy with parameters of type Item Modifier and Type Method Description voidLazyBuildMixIn.ItemListenerImpl. onLocationChanged(Item item, String oldFullName, String newFullName)Method parameters in jenkins.model.lazy with type arguments of type Item Modifier and Type Method Description voidLazyBuildMixIn. onLoad(ItemGroup<? extends Item> parent, String name)Something to be called fromJob.onLoad(hudson.model.ItemGroup<? extends hudson.model.Item>, java.lang.String). -
Uses of Item in jenkins.model.queue
Methods in jenkins.model.queue with parameters of type Item Modifier and Type Method Description static booleanItemDeletion. contains(Item item)Checks if the suppliedItemor any of itsgetParent()are being deleted.static voidItemDeletion. deregister(Item item)Deregister the suppliedItemfor deletion.static booleanItemDeletion. isRegistered(Item item)Checks if the suppliedItemis explicitly registered for deletion.static booleanItemDeletion. register(Item item)Register the suppliedItemfor deletion. -
Uses of Item in jenkins.scm
Methods in jenkins.scm with parameters of type Item Modifier and Type Method Description static SCMDecisionHandlerSCMDecisionHandler. firstShouldPollVeto(Item item)static List<SCMDecisionHandler>SCMDecisionHandler. listShouldPollVetos(Item item)abstract booleanSCMDecisionHandler. shouldPoll(Item item)This handler is consulted every time someone tries to run a polling of anItem. -
Uses of Item in jenkins.triggers
Subinterfaces of Item in jenkins.triggers Modifier and Type Interface Description interfaceTriggeredItemAn item which can be configured withTriggers.Methods in jenkins.triggers that return Item Modifier and Type Method Description ItemSCMTriggerItem. asItem()Should bethis.Methods in jenkins.triggers with parameters of type Item Modifier and Type Method Description static SCMTriggerItemSCMTriggerItem.SCMTriggerItems. asSCMTriggerItem(Item item)See whether an item can be coerced toSCMTriggerItem.AutoCompletionCandidatesReverseBuildTrigger.DescriptorImpl. doAutoCompleteUpstreamProjects(String value, Item self, ItemGroup container)booleanReverseBuildTrigger.DescriptorImpl. isApplicable(Item item)voidReverseBuildTrigger.ItemListenerImpl. onLocationChanged(Item item, String oldFullName, String newFullName)
-