com.sonymobile.jenkins.plugins.teamview
Class PluginImpl
java.lang.Object
hudson.Plugin
com.sonymobile.jenkins.plugins.teamview.PluginImpl
- All Implemented Interfaces:
- hudson.model.Saveable
public class PluginImpl
- extends hudson.Plugin
The main thing.
- Author:
- Tomas Westling <tomas.westling@sonymobile.com>
| Nested classes/interfaces inherited from class hudson.Plugin |
hudson.Plugin.DummyImpl |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
| Methods inherited from class hudson.Plugin |
configure, configure, doDynamic, getConfigXml, getWrapper, load, postInitialize, save, setServletContext, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginImpl
public PluginImpl()
start
public void start()
throws Exception
- Overrides:
start in class hudson.Plugin
- Throws:
Exception
getInstance
public static PluginImpl getInstance()
- Returns the singleton instance.
- Returns:
- the one.
getTeams
public Map<String,Team> getTeams()
- Standard getter.
- Returns:
- the teams.
addTeam
public void addTeam(Team team)
- Add a team to the map of teams.
- Parameters:
team - the Team to add.
getIconPath
public static String getIconPath(String base)
- Calculates the path to the icon.
Copied from
ModelObjectWithContextMenu.ContextMenu.add(hudson.model.Action)
- Parameters:
base - the suffix of the icon path
- Returns:
- the full path of the icon including resources.
Copyright © 2004-2013. All Rights Reserved.