@Override public ViewDescriptor getDescriptor() { return DESCRIPTOR; }
/** * Returns a list of {@link ViewDescriptor}s that we want to use for this project type. Used by newView.jelly. * * @return list of {@link ViewDescriptor}s that we want to use for this project type */ @SuppressWarnings(UNUSED) public static List<ViewDescriptor> getViewDescriptors() { return Collections.singletonList( (ViewDescriptor) Jenkins.getActiveInstance().getDescriptorByType(BranchListView.DescriptorImpl.class)); }