hudson.plugins.jsgames
Class JsGamesRootAction

java.lang.Object
  extended by hudson.plugins.jsgames.JsGamesRootAction
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject, hudson.model.RootAction

@Extension
public class JsGamesRootAction
extends java.lang.Object
implements hudson.model.RootAction

This class allows JS Games option to appear on Hudson dashboard menu.

Author:
cliffano

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
private static java.util.List<Game> games
          The list of games to be displayed on JSGames menu.
 
Constructor Summary
JsGamesRootAction()
           
 
Method Summary
 java.lang.String getDisplayName()
           
 java.util.List<Game> getGames()
           
 java.lang.String getIconFileName()
           
 java.lang.String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

games

private static java.util.List<Game> games
The list of games to be displayed on JSGames menu.

Constructor Detail

JsGamesRootAction

public JsGamesRootAction()
Method Detail

getDisplayName

public final java.lang.String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject
Returns:
the display name

getIconFileName

public final java.lang.String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action
Returns:
the icon file name

getUrlName

public final java.lang.String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action
Returns:
the URL name

getGames

public final java.util.List<Game> getGames()
Returns:
the list of games


Copyright © 2010. All Rights Reserved.