Package hudson.tasks
Class BuildStep.PublisherList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<Descriptor<Publisher>>
-
- hudson.tasks.BuildStep.PublisherList
-
- All Implemented Interfaces:
Iterable<Descriptor<Publisher>>
,Collection<Descriptor<Publisher>>
,List<Descriptor<Publisher>>
- Enclosing interface:
- BuildStep
public static final class BuildStep.PublisherList extends AbstractList<Descriptor<Publisher>>
List of publisher descriptor.
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, Descriptor<Publisher> d)
boolean
add(Descriptor<Publisher> d)
void
addNotifier(Descriptor<Publisher> d)
Adds a new publisher descriptor, which (generally speaking) shouldn't alter the build result, but just report the build result by some means, such as e-mail, IRC, etc.void
addRecorder(Descriptor<Publisher> d)
Adds a new publisher descriptor, which (generally speaking) alter the build result based on some artifacts of the build.Descriptor<Publisher>
get(int index)
Iterator<Descriptor<Publisher>>
iterator()
boolean
remove(Object o)
int
size()
-
Methods inherited from class java.util.AbstractList
addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, 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, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
addNotifier
public void addNotifier(Descriptor<Publisher> d)
Adds a new publisher descriptor, which (generally speaking) shouldn't alter the build result, but just report the build result by some means, such as e-mail, IRC, etc.This method adds the descriptor after all the "recorders".
- See Also:
addRecorder(Descriptor)
-
addRecorder
public void addRecorder(Descriptor<Publisher> d)
Adds a new publisher descriptor, which (generally speaking) alter the build result based on some artifacts of the build.This method adds the descriptor before all the "notifiers".
- See Also:
addNotifier(Descriptor)
-
add
public boolean add(Descriptor<Publisher> d)
- Specified by:
add
in interfaceCollection<Descriptor<Publisher>>
- Specified by:
add
in interfaceList<Descriptor<Publisher>>
- Overrides:
add
in classAbstractList<Descriptor<Publisher>>
-
add
public void add(int index, Descriptor<Publisher> d)
- Specified by:
add
in interfaceList<Descriptor<Publisher>>
- Overrides:
add
in classAbstractList<Descriptor<Publisher>>
-
get
public Descriptor<Publisher> get(int index)
- Specified by:
get
in interfaceList<Descriptor<Publisher>>
- Specified by:
get
in classAbstractList<Descriptor<Publisher>>
-
size
public int size()
- Specified by:
size
in interfaceCollection<Descriptor<Publisher>>
- Specified by:
size
in interfaceList<Descriptor<Publisher>>
- Specified by:
size
in classAbstractCollection<Descriptor<Publisher>>
-
iterator
public Iterator<Descriptor<Publisher>> iterator()
- Specified by:
iterator
in interfaceCollection<Descriptor<Publisher>>
- Specified by:
iterator
in interfaceIterable<Descriptor<Publisher>>
- Specified by:
iterator
in interfaceList<Descriptor<Publisher>>
- Overrides:
iterator
in classAbstractList<Descriptor<Publisher>>
-
remove
public boolean remove(Object o)
- Specified by:
remove
in interfaceCollection<Descriptor<Publisher>>
- Specified by:
remove
in interfaceList<Descriptor<Publisher>>
- Overrides:
remove
in classAbstractCollection<Descriptor<Publisher>>
-
-