Package hudson.util

Class DescribableList<T extends Describable<T>,D extends Descriptor<T>>

All Implemented Interfaces:
Iterable<T>, Collection<T>, List<T>
Direct Known Subclasses:
Jenkins.CloudList, View.PropertyList

public class DescribableList<T extends Describable<T>,D extends Descriptor<T>> extends PersistedList<T>
Persisted list of Describables with some operations specific to Descriptors.

This class allows multiple instances of the same descriptor. Some clients use this semantics, while other clients use it as "up to one instance per one descriptor" model. Some of the methods defined in this class only makes sense in the latter model, such as remove(Descriptor).

Author:
Kohsuke Kawaguchi