public static DescriptorExtensionList<BuildDiscarder,BuildDiscarderDescriptor> all() {
        return Jenkins.getInstance().<BuildDiscarder,BuildDiscarderDescriptor>getDescriptorList(BuildDiscarder.class);
    }
public static DescriptorExtensionList < BuildDiscarder , BuildDiscarderDescriptor > all ( ) { return Jenkins . getInstance ( ) . < BuildDiscarder , BuildDiscarderDescriptor > getDescriptorList ( BuildDiscarder . class ) ; }
Returns all the registered {@link BuildDiscarderDescriptor}s.