Package org.kohsuke.stapler
Class FunctionList
Immutable list of
Function
s.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorDescriptionFunctionList
(Collection<Function> functions) FunctionList
(Function... functions) -
Method Summary
Modifier and TypeMethodDescriptionannotated
(Class<? extends Annotation> ann) ReturnsFunction
s that are annotated with the given annotation.get
(int index) ReturnsFunction
s that have the given name.ReturnsFunction
s that start with the given prefix.ReturnsFunction
s that has the given type parameterssignatureStartsWith
(Class... args) ReturnsFunction
s that has the parameters that start with given types (but can have additional parameters.)int
size()
union
(FunctionList that) Compute set unions of two lists.Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, 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, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
FunctionList
-
FunctionList
-
-
Method Details
-
get
-
size
public int size()- Specified by:
size
in interfaceCollection<Function>
- Specified by:
size
in interfaceList<Function>
- Specified by:
size
in classAbstractCollection<Function>
-
union
Compute set unions of two lists. -
prefix
ReturnsFunction
s that start with the given prefix. -
annotated
ReturnsFunction
s that are annotated with the given annotation. -
name
ReturnsFunction
s that have the given name. -
signature
ReturnsFunction
s that has the given type parameters -
webMethodsLegacy
-
signatureStartsWith
ReturnsFunction
s that has the parameters that start with given types (but can have additional parameters.)
-