packagehudson.model;importorg.kohsuke.stapler.StaplerRequest;importjava.util.List;importjava.util.ArrayList;/** * {@link Descriptor} for {@link TopLevelItem}s. * * @author Kohsuke Kawaguchi */publicabstractclassTopLevelItemDescriptorextendsDescriptor<TopLevelItem>{protectedTopLevelItemDescriptor(Class<?extendsTopLevelItem>clazz){super(clazz);}/** * @deprecated * This is not a valid operation for {@link Job}s. */@DeprecatedpublicTopLevelItemnewInstance(StaplerRequestreq)throwsFormException{thrownewUnsupportedOperationException();}/** * Creates a new {@link Job}. */publicabstractTopLevelItemnewInstance(Stringname);}