Package hudson.model

Interface TopLevelItem

All Superinterfaces:
AccessControlled, Describable<TopLevelItem>, ExtensionPoint, Item, ModelObject, OnMaster, PersistenceRoot, Saveable, SearchableModelObject, SearchItem
All Known Implementing Classes:
AbstractTopLevelItem, FreeStyleProject

public interface TopLevelItem extends Item, ExtensionPoint, Describable<TopLevelItem>
Item that can be directly displayed under Jenkins or other containers. (A "container" would be any ItemGroup<TopLevelItem>, such as a folder of projects.) Ones that don't need to be under specific parent (say, unlike MatrixConfiguration), and thus can be freely moved, copied, etc.

To register a custom TopLevelItem class from a plugin, put Extension on your TopLevelItemDescriptor. Also see Items.XSTREAM.

Kohsuke Kawaguchi