Class RelatedProjectView
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- hudson.model.View
-
- hudson.plugins.project_inheritance.views.RelatedProjectView
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<View>
,ModelObject
,Saveable
,SearchableModelObject
,SearchItem
,AccessControlled
,ModelObjectWithChildren
public class RelatedProjectView extends View
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RelatedProjectView.DescriptorImpl
static class
RelatedProjectView.ProjectTypes
static class
RelatedProjectView.Relationships
-
Nested classes/interfaces inherited from class hudson.model.View
View.AsynchPeople, View.People, View.PropertyList, View.UserInfo
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.View
CONFIGURE, CREATE, DELETE, description, filterExecutors, filterQueue, LIST, name, NEW_PRONOUN, owner, PERMISSIONS, READ, SORTER
-
-
Constructor Summary
Constructors Constructor Description RelatedProjectView(String name)
RelatedProjectView(String name, ViewGroup owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(TopLevelItem item)
Item
doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
protected boolean
filterApplies(InheritanceProject ip)
List<RelatedProjectView.Relationships>
getAllRelations()
DescribableList<ListViewColumn,Descriptor<ListViewColumn>>
getColumns()
String
getCreationClassFilter()
Collection<TopLevelItem>
getItems()
DescribableList<AbstractProjectReference,Descriptor<AbstractProjectReference>>
getProjectReferences()
Set<RelatedProjectView.Relationships>
getSelectedRelations()
RelatedProjectView.ProjectTypes
getTypeFilter()
protected void
initColumns()
void
onJobRenamed(Item item, String oldName, String newName)
protected void
submit(org.kohsuke.stapler.StaplerRequest req)
-
Methods inherited from class hudson.model.View
all, allInstantiable, create, createViewFromXML, doCheckJobName, doChildrenContextMenu, doConfigDotXml, doConfigSubmit, doDoDelete, doItemCategories, doRssAll, doRssFailed, doRssLatest, doSubmitDescription, getAbsoluteUrl, getACL, getActions, getAllItems, getAllProperties, getApi, getApplicablePropertyDescriptors, getApproximateQueueItemsQuickly, getAsynchPeople, getBuilds, getComputers, getDescription, getDescriptor, getDisplayName, getDynamic, getIndenter, getItem, getItemCreatePermission, getJob, getNewPronoun, getOwner, getOwnerItemGroup, getOwnerPrimaryView, getOwnerViewActions, getPeople, getPostConstructLandingPage, getProperties, getQueueItems, getSearchUrl, getTimeline, getUrl, getViewName, getViewUrl, getVisiblePropertyDescriptors, getWidgets, hasPeople, isAutomaticRefreshEnabled, isDefault, isEditable, isFilterExecutors, isFilterQueue, makeSearchIndex, makeSearchIndex, rename, save, setDescription, toString, updateByXml, updateTransientActions, writeXml
-
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2
-
-
-
-
Method Detail
-
getTypeFilter
public RelatedProjectView.ProjectTypes getTypeFilter()
-
getSelectedRelations
public Set<RelatedProjectView.Relationships> getSelectedRelations()
-
getAllRelations
public List<RelatedProjectView.Relationships> getAllRelations()
-
getProjectReferences
public DescribableList<AbstractProjectReference,Descriptor<AbstractProjectReference>> getProjectReferences()
-
getCreationClassFilter
public String getCreationClassFilter()
-
initColumns
protected void initColumns()
-
filterApplies
protected boolean filterApplies(InheritanceProject ip)
-
getItems
public Collection<TopLevelItem> getItems()
-
getColumns
public DescribableList<ListViewColumn,Descriptor<ListViewColumn>> getColumns()
- Overrides:
getColumns
in classView
-
contains
public boolean contains(TopLevelItem item)
-
onJobRenamed
public void onJobRenamed(Item item, String oldName, String newName)
- Overrides:
onJobRenamed
in classView
-
submit
protected void submit(org.kohsuke.stapler.StaplerRequest req) throws IOException, javax.servlet.ServletException, Descriptor.FormException
- Specified by:
submit
in classView
- Throws:
IOException
javax.servlet.ServletException
Descriptor.FormException
-
doCreateItem
public Item doCreateItem(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
- Specified by:
doCreateItem
in classView
- Throws:
IOException
javax.servlet.ServletException
-
-