hudson.tasks
Class BuildStep.PublisherList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<Descriptor<Publisher>>
          extended by 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
 boolean add(Descriptor<Publisher> d)
           
 void add(int index, 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.List
addAll, contains, containsAll, isEmpty, removeAll, retainAll, 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 interface Collection<Descriptor<Publisher>>
Specified by:
add in interface List<Descriptor<Publisher>>
Overrides:
add in class AbstractList<Descriptor<Publisher>>

add

public void add(int index,
                Descriptor<Publisher> d)
Specified by:
add in interface List<Descriptor<Publisher>>
Overrides:
add in class AbstractList<Descriptor<Publisher>>

get

public Descriptor<Publisher> get(int index)
Specified by:
get in interface List<Descriptor<Publisher>>
Specified by:
get in class AbstractList<Descriptor<Publisher>>

size

public int size()
Specified by:
size in interface Collection<Descriptor<Publisher>>
Specified by:
size in interface List<Descriptor<Publisher>>
Specified by:
size in class AbstractCollection<Descriptor<Publisher>>

iterator

public Iterator<Descriptor<Publisher>> iterator()
Specified by:
iterator in interface Iterable<Descriptor<Publisher>>
Specified by:
iterator in interface Collection<Descriptor<Publisher>>
Specified by:
iterator in interface List<Descriptor<Publisher>>
Overrides:
iterator in class AbstractList<Descriptor<Publisher>>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<Descriptor<Publisher>>
Specified by:
remove in interface List<Descriptor<Publisher>>
Overrides:
remove in class AbstractCollection<Descriptor<Publisher>>


Copyright © 2004-2013. All Rights Reserved.