|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sonymobile.jenkins.plugins.teamview.TeamProperty
com.sonymobile.jenkins.plugins.teamview.TeamViewsProperty
public final class TeamViewsProperty
A class that remembers team views.
| Nested Class Summary | |
|---|---|
static class |
TeamViewsProperty.TeamViewsPropertyDescriptor
Descriptor for the TeamViewsProperty. |
| Nested classes/interfaces inherited from class com.sonymobile.jenkins.plugins.teamview.TeamProperty |
|---|
TeamProperty.TeamPropertyDescriptor |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary |
|---|
| Fields inherited from class com.sonymobile.jenkins.plugins.teamview.TeamProperty |
|---|
team |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Method Summary | |
|---|---|
void |
addView(hudson.model.View view)
Adds a View to the ViewGroupMixIn. |
boolean |
canDelete(hudson.model.View view)
|
void |
checkPermission(hudson.security.Permission permission)
|
void |
deleteView(hudson.model.View view)
|
void |
doCreateView(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Creates a view and adds it to the ViewGroupMixIn. |
org.kohsuke.stapler.HttpResponse |
doIndex()
Shows the primary view. |
hudson.util.FormValidation |
doViewExistsCheck(String value,
boolean exists)
Checks if a private view with the given name exists. |
hudson.security.ACL |
getACL()
|
String |
getDisplayName()
|
String |
getIconFileName()
|
hudson.model.ItemGroup<? extends hudson.model.TopLevelItem> |
getItemGroup()
|
hudson.model.View |
getPrimaryView()
|
String |
getPrimaryViewName()
Standard getter for the primaryViewName. |
Object |
getStaplerFallback()
|
Team |
getTeam()
Standard getter for the team. |
String |
getUrl()
|
String |
getUrlName()
Getter for the url name, relative to nearest ancestor, not ending in a '/'. |
hudson.model.View |
getView(String name)
|
List<hudson.model.Action> |
getViewActions()
|
Collection<hudson.model.View> |
getViews()
|
hudson.views.ViewsTabBar |
getViewsTabBar()
|
boolean |
hasPermission(hudson.security.Permission permission)
|
void |
onViewRenamed(hudson.model.View view,
String oldName,
String newName)
|
Object |
readResolve()
Creates the ViewGroupMixIn and sets the default view. |
TeamProperty |
reconfigure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject form)
Reconfigures a TeamProperty from a submitted form. |
void |
save()
|
void |
setPrimaryViewName(String primaryViewName)
Standard setter for the primaryViewName. |
| Methods inherited from class com.sonymobile.jenkins.plugins.teamview.TeamProperty |
|---|
all, getDescriptor, setTeam |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Team getTeam()
public Object readResolve()
public String getPrimaryViewName()
public void setPrimaryViewName(String primaryViewName)
primaryViewName - the primary view name.public String getUrl()
getUrl in interface hudson.model.ViewGroup
public void save()
throws IOException
save in interface hudson.model.SaveableIOExceptionpublic Collection<hudson.model.View> getViews()
getViews in interface hudson.model.ViewGrouppublic hudson.model.View getView(String name)
getView in interface hudson.model.ViewGrouppublic boolean canDelete(hudson.model.View view)
canDelete in interface hudson.model.ViewGroup
public void deleteView(hudson.model.View view)
throws IOException
deleteView in interface hudson.model.ViewGroupIOException
public void onViewRenamed(hudson.model.View view,
String oldName,
String newName)
onViewRenamed in interface hudson.model.ViewGroup
public void addView(hudson.model.View view)
throws IOException
view - the View to add.
IOException - if the View can't be added.public hudson.model.View getPrimaryView()
getPrimaryView in interface hudson.model.ViewGrouppublic org.kohsuke.stapler.HttpResponse doIndex()
public void doCreateView(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException,
ParseException,
hudson.model.Descriptor.FormException
req - the StaplerRequest.rsp - the StaplerResponse.
IOException - if the View can't be added.
javax.servlet.ServletException - if the View can't be created.
ParseException - if the View can't be created.
Descriptor.FormException - if the View can't be created.public hudson.security.ACL getACL()
getACL in interface hudson.security.AccessControlledpublic void checkPermission(hudson.security.Permission permission)
checkPermission in interface hudson.security.AccessControlledpublic boolean hasPermission(hudson.security.Permission permission)
hasPermission in interface hudson.security.AccessControlledpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getUrlName()
TeamProperty
getUrlName in interface hudson.model.ActiongetUrlName in class TeamProperty
public hudson.util.FormValidation doViewExistsCheck(@QueryParameter
String value,
@QueryParameter
boolean exists)
value - the view name to check.exists - whether the view is supposed to exist or not.
FormValidation describing whether the view exists or not.
public TeamProperty reconfigure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject form)
throws hudson.model.Descriptor.FormException
TeamProperty
reconfigure in interface hudson.model.ReconfigurableDescribable<TeamProperty>reconfigure in class TeamPropertyreq - the StaplerRequest.form - the submitted form.
Descriptor.FormException - if there is a problem in the submitted form.public hudson.views.ViewsTabBar getViewsTabBar()
getViewsTabBar in interface hudson.model.ViewGrouppublic hudson.model.ItemGroup<? extends hudson.model.TopLevelItem> getItemGroup()
getItemGroup in interface hudson.model.ViewGrouppublic List<hudson.model.Action> getViewActions()
getViewActions in interface hudson.model.ViewGrouppublic Object getStaplerFallback()
getStaplerFallback in interface org.kohsuke.stapler.StaplerFallback
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||