Package hudson.tasks
Class Publisher.DescriptorExtensionListImpl
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
hudson.ExtensionList<D>
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.-
Field Summary
Fields inherited from class hudson.ExtensionList
extensionType, hudson, jenkins
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<ExtensionComponent<Descriptor<Publisher>>>
If theExtensionList
implementation 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, remove
Methods inherited from class hudson.ExtensionList
add, addListener, create, create, get, get, getComponents, getDynamic, getInstance, iterator, lookup, lookupFirst, lookupSingleton, refresh, remove, removeAll, reverseView, size
Methods inherited from class java.util.AbstractList
addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, removeRange, set, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:ExtensionList
If theExtensionList
implementation requires sorting extensions, override this method to do so.The implementation should copy a list, do a sort, and return the new instance.
- Overrides:
sort
in classExtensionList<Descriptor<Publisher>>
-