Package hudson.tasks
Class Publisher.DescriptorExtensionListImpl
java.lang.Object
java.util.AbstractCollection<Descriptor<Publisher>>
java.util.AbstractList<Descriptor<Publisher>>
hudson.ExtensionList<Descriptor<Publisher>>
hudson.DescriptorExtensionList<Publisher,Descriptor<Publisher>>
hudson.tasks.Publisher.DescriptorExtensionListImpl
- All Implemented Interfaces:
Iterable<Descriptor<Publisher>>,Collection<Descriptor<Publisher>>,List<Descriptor<Publisher>>,OnMaster
- Enclosing class:
Publisher
public static final class Publisher.DescriptorExtensionListImpl
extends DescriptorExtensionList<Publisher,Descriptor<Publisher>>
Publisher has a special sort semantics that requires a subtype.- See Also:
-
Field Summary
Fields inherited from class hudson.ExtensionList
extensionType, hudson, jenkinsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<ExtensionComponent<Descriptor<Publisher>>> If theExtensionListimplementation requires sorting extensions, override this method to do so.Methods inherited from class hudson.DescriptorExtensionList
add, clearLegacyInstances, createDescriptorList, createDescriptorList, find, find, findByName, getLoadLock, listLegacyInstances, load, load, newInstanceFromRadioList, newInstanceFromRadioList, removeMethods inherited from class hudson.ExtensionList
add, addListener, create, create, fireOnChangeListeners, get, get, getComponents, getDynamic, getInstance, iterator, lookup, lookupFirst, lookupSingleton, refresh, remove, removeAll, reverseView, sizeMethods inherited from class java.util.AbstractList
addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
DescriptorExtensionListImpl
-
-
Method Details
-
sort
protected List<ExtensionComponent<Descriptor<Publisher>>> sort(List<ExtensionComponent<Descriptor<Publisher>>> r) Description copied from class:ExtensionListIf theExtensionListimplementation requires sorting extensions, override this method to do so.The implementation should copy a list, do a sort, and return the new instance.
- Overrides:
sortin classExtensionList<Descriptor<Publisher>>
-