com.sonymobile.jenkins.plugins.teamview
Class TeamProperty

java.lang.Object
  extended by com.sonymobile.jenkins.plugins.teamview.TeamProperty
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<TeamProperty>, hudson.model.ReconfigurableDescribable<TeamProperty>
Direct Known Subclasses:
TeamViewsProperty

@ExportedBean
public abstract class TeamProperty
extends Object
implements hudson.model.ReconfigurableDescribable<TeamProperty>, hudson.ExtensionPoint

Extensible property of Team.

Author:
Tomas Westling <tomas.westling@sonymobile.com>

Nested Class Summary
static class TeamProperty.TeamPropertyDescriptor
          Descriptor for TeamProperty.
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
protected  Team team
          the Team this property is associated with.
 
Constructor Summary
TeamProperty()
           
 
Method Summary
static hudson.DescriptorExtensionList<TeamProperty,TeamProperty.TeamPropertyDescriptor> all()
          Returns all the registered TeamProperty.TeamPropertyDescriptors.
 TeamProperty.TeamPropertyDescriptor getDescriptor()
          Getter for the TeamProperty.TeamPropertyDescriptor.
abstract  String getUrlName()
          Getter for the url name, relative to nearest ancestor, not ending in a '/'.
 TeamProperty reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form)
          Reconfigures a TeamProperty from a submitted form.
 void setTeam(Team team)
          Standard setter for the team.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

team

protected transient Team team
the Team this property is associated with.

Constructor Detail

TeamProperty

public TeamProperty()
Method Detail

getDescriptor

public TeamProperty.TeamPropertyDescriptor getDescriptor()
Getter for the TeamProperty.TeamPropertyDescriptor.

Specified by:
getDescriptor in interface hudson.model.Describable<TeamProperty>
Returns:
the TeamProperty.TeamPropertyDescriptor.

all

public static hudson.DescriptorExtensionList<TeamProperty,TeamProperty.TeamPropertyDescriptor> all()
Returns all the registered TeamProperty.TeamPropertyDescriptors.

Returns:
a DescriptorExtensionList containing all the TeamPropertyDescriptors.

reconfigure

public TeamProperty reconfigure(org.kohsuke.stapler.StaplerRequest req,
                                net.sf.json.JSONObject form)
                         throws hudson.model.Descriptor.FormException
Reconfigures a TeamProperty from a submitted form.

Specified by:
reconfigure in interface hudson.model.ReconfigurableDescribable<TeamProperty>
Parameters:
req - the StaplerRequest.
form - the submitted form.
Returns:
a new TeamProperty instance.
Throws:
Descriptor.FormException - if there is a problem in the submitted form.

setTeam

public void setTeam(Team team)
Standard setter for the team.

Parameters:
team - the Team.

getUrlName

public abstract String getUrlName()
Getter for the url name, relative to nearest ancestor, not ending in a '/'.

Returns:
the url name for this property.


Copyright © 2004-2013. All Rights Reserved.