
hudson.model.TopLevelItem Maven / Gradle / Ivy
package hudson.model;
import hudson.ExtensionPoint;
/**
* {@link Item} that can be directly displayed under {@link Hudson}.
*
*
* To register a custom {@link TopLevelItem} class from a plugin, add it to
* {@link Items#LIST}. Also see {@link Items#XSTREAM}.
*
* @author Kohsuke Kawaguchi
*/
public interface TopLevelItem extends Item, ExtensionPoint, Describable {
/**
* By definition the parent of the top-level item is always {@link Hudson}.
*/
Hudson getParent();
/**
*
* @see Describable#getDescriptor()
*/
TopLevelItemDescriptor getDescriptor();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy