Uses of Class
hudson.model.View
-
Packages that use View Package Description hudson.cli.handlers OptionHandler
implementations for Hudson.hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.security Security-related code.hudson.util Other miscellaneous utility codehudson.views jenkins.model -
-
Uses of View in hudson.cli.handlers
Methods in hudson.cli.handlers that return View Modifier and Type Method Description View
ViewOptionHandler. getView(String name)
Gets a view by its name Note: Personal user's views aren't supported now.Constructor parameters in hudson.cli.handlers with type arguments of type View Constructor Description ViewOptionHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<View> setter)
-
Uses of View in hudson.model
Subclasses of View in hudson.model Modifier and Type Class Description class
AllView
View
that contains everything.class
ListView
DisplaysJob
s in a flat list view.class
MyView
View
that only contains projects for which the current user has access to.class
ProxyView
A view that delegates to another.Fields in hudson.model declared as View Modifier and Type Field Description protected View
ViewProperty. view
The view object that owns this property.Fields in hudson.model with type parameters of type View Modifier and Type Field Description static DescriptorList<View>
View. LIST
static AlternativeUiTextProvider.Message<View>
View. NEW_PRONOUN
"Job" in "New Job".static Comparator<View>
View. SORTER
Methods in hudson.model that return View Modifier and Type Method Description static View
View. create(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, ViewGroup owner)
static View
View. createViewFromXML(String name, InputStream xml)
Instantiate View subtype from XML stream.View
View.PropertyList. getOwner()
View
View. getOwnerPrimaryView()
Deprecated.callViewGroup.getPrimaryView()
directlyView
MyViewsProperty. getPrimaryView()
default View
ViewGroup. getPrimaryView()
If the view group renders one view in its own URL (like Jenkins top page does), then that view is called the primary view.View
ViewGroupMixIn. getPrimaryView()
Returns the primaryView
that renders the top-page of Hudson ornull
if there is no primary one defined.View
ProxyView. getProxiedView()
View
MyViewsProperty. getView(String name)
View
ViewGroup. getView(String name)
Gets a view of the given name.View
ViewGroupMixIn. getView(String name)
Gets a view by the specified name.Methods in hudson.model that return types with arguments of type View Modifier and Type Method Description static DescriptorExtensionList<View,ViewDescriptor>
View. all()
Returns all the registeredViewDescriptor
s.default Collection<View>
ViewGroup. getAllViews()
Gets all the views in this group including nested views.Collection<View>
MyViewsProperty. getViews()
Collection<View>
ViewGroup. getViews()
Gets all the views in this group.Collection<View>
ViewGroupMixIn. getViews()
Gets the read-only list of allView
s.protected abstract List<View>
ViewGroupMixIn. views()
Returns all views in the group.Methods in hudson.model with parameters of type View Modifier and Type Method Description void
ModifiableViewGroup. addView(View view)
void
MyViewsProperty. addView(View view)
void
ViewGroupMixIn. addView(View v)
boolean
MyViewsProperty. canDelete(View view)
boolean
ViewGroup. canDelete(View view)
Determine whether a view may be deleted.boolean
ViewGroupMixIn. canDelete(View view)
protected FormValidation
ViewDescriptor. checkDisplayName(View view, String value)
Validation of the display name field.static List<Action>
TransientViewActionFactory. createAllFor(View v)
CreatesAction
s for a view, using all registeredTransientViewActionFactory
s.abstract List<Action>
TransientViewActionFactory. createFor(View v)
returns a list of (transient) actions never null, may be emptyvoid
MyViewsProperty. deleteView(View view)
void
ViewGroup. deleteView(View view)
Deletes a view in this group.void
ViewGroupMixIn. deleteView(View view)
boolean
ViewPropertyDescriptor. isEnabledFor(View view)
Whether or not the described property is enabled in the current context.ViewProperty
ViewPropertyDescriptor. newInstance(View view)
Creates a default instance ofViewProperty
to be associated withView
object that wasn't created from a persisted XML data.void
MyViewsProperty. onViewRenamed(View view, String oldName, String newName)
void
ViewGroup. onViewRenamed(View view, String oldName, String newName)
View
calls this method when it's renamed.void
ViewGroupMixIn. onViewRenamed(View view, String oldName, String newName)
protected void
AbstractCIBase. setViewOwner(View v)
Method parameters in hudson.model with type arguments of type View Modifier and Type Method Description static String
AllView. migrateLegacyPrimaryAllViewLocalizedName(List<View> views, String primaryView)
Corrects the name of theAllView
if and only if theAllView
is the primary view and its name is one of the localized forms ofMessages._Hudson_ViewName()
and the user has not opted out of fixing the view name by setting the system propertyhudson.mode.AllView.JENKINS-38606
tofalse
.Constructors in hudson.model with parameters of type View Constructor Description AsynchPeople(View parent)
People(View parent)
Constructor parameters in hudson.model with type arguments of type View Constructor Description ViewDescriptor(Class<? extends View> clazz)
-
Uses of View in hudson.security
Methods in hudson.security with parameters of type View Modifier and Type Method Description ACL
AuthorizationStrategy. getACL(View item)
Implementation can choose to provide different ACL for different views. -
Uses of View in hudson.util
Constructors in hudson.util with parameters of type View Constructor Description RunList(View view)
-
Uses of View in hudson.views
Methods in hudson.views that return types with arguments of type View Modifier and Type Method Description List<View>
MyViewsTabBar. sort(List<? extends View> views)
Sorts the views bygetDisplayName()
.List<View>
ViewsTabBar. sort(List<? extends View> views)
Sorts the views bygetDisplayName()
.Methods in hudson.views with parameters of type View Modifier and Type Method Description static List<ListViewColumn>
ListViewColumn. createDefaultInitialColumnList(View view)
Creates the list ofListViewColumn
s to be used for aListView
s and their likes.List<TopLevelItem>
StatusFilter. filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView)
Choose which jobs to show for a view.abstract List<TopLevelItem>
ViewJobFilter. filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView)
Choose which jobs to show for a view.Method parameters in hudson.views with type arguments of type View Modifier and Type Method Description static List<ListViewColumn>
ListViewColumn. createDefaultInitialColumnList(Class<? extends View> context)
Creates the list ofListViewColumn
s to be used for newly createdListView
s and their likes.List<View>
MyViewsTabBar. sort(List<? extends View> views)
Sorts the views bygetDisplayName()
.List<View>
ViewsTabBar. sort(List<? extends View> views)
Sorts the views bygetDisplayName()
. -
Uses of View in jenkins.model
Methods in jenkins.model that return View Modifier and Type Method Description View
Jenkins. getPrimaryView()
Returns the primaryView
that renders the top-page of Jenkins.View
Jenkins. getStaplerFallback()
Fallback to the primary view.View
Jenkins. getView(String name)
Gets a view by the specified name.Methods in jenkins.model that return types with arguments of type View Modifier and Type Method Description Collection<View>
Jenkins. getViews()
Gets the read-only list of allView
s.Methods in jenkins.model with parameters of type View Modifier and Type Method Description void
Jenkins. addView(View v)
boolean
Jenkins. canDelete(View view)
void
Jenkins. deleteView(View view)
void
Jenkins. onViewRenamed(View view, String oldName, String newName)
void
Jenkins. setPrimaryView(View v)
Method parameters in jenkins.model with type arguments of type View Modifier and Type Method Description void
Jenkins. setViews(Collection<View> views)
Completely replaces views.
-