Class Configurations

All Implemented Interfaces:
Iterable<Configuration>, Collection<Configuration>, List<Configuration>, Dumpable

public class Configurations extends AbstractList<Configuration> implements Dumpable
An ordered list of Configuration instances.

The ordering of Configurations will initially be the order in which they are added. The sort() method can be used to apply a TopologicalSort to the ordering as defined by the Configuration.getDependencies() and Configuration.getDependents() methods. Instances that do not have ordering dependencies will maintain their add order, as will additions/insertions made after the the sort.

If an added Configuration returns a value for Configuration.replaces() then the added instance will replace any existing instance of that type or that has already replaced that type.