hudson.model.ViewDescriptor Java Examples
The following examples show how to use
hudson.model.ViewDescriptor.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DashboardView.java From jenkins-deployment-dashboard-plugin with MIT License | 4 votes |
@Override public ViewDescriptor getDescriptor() { return DESCRIPTOR; }
Example #2
Source File: TemplateDrivenMultiBranchProject.java From multi-branch-project-plugin with MIT License | 4 votes |
/** * 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)); }