hudson.plugins.chucknorris
Class RoundhouseAction

java.lang.Object
  extended by hudson.plugins.chucknorris.RoundhouseAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public final class RoundhouseAction
extends Object
implements hudson.model.Action

RoundhouseAction keeps the style and fact associated with the action. For more info, please watch http://www.youtube.com/watch?v=Vb7lnpk3tRY

Author:
cliffano

Constructor Summary
RoundhouseAction(Style style, String fact)
          Constructs a RoundhouseAction with specified style and fact.
 
Method Summary
 String getDisplayName()
          Gets the action display name.
 String getFact()
          Gets the Chuck Norris fact.
 String getIconFileName()
          This action doesn't provide any icon file.
 Style getStyle()
          Gets the Chuck Norris style.
 String getUrlName()
          Gets the URL name for this action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoundhouseAction

public RoundhouseAction(Style style,
                        String fact)
Constructs a RoundhouseAction with specified style and fact.

Parameters:
style - the style
fact - the fact
Method Detail

getDisplayName

public String getDisplayName()
Gets the action display name.

Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject
Returns:
the display name

getIconFileName

public String getIconFileName()
This action doesn't provide any icon file.

Specified by:
getIconFileName in interface hudson.model.Action
Returns:
null

getUrlName

public String getUrlName()
Gets the URL name for this action.

Specified by:
getUrlName in interface hudson.model.Action
Returns:
the URL name

getStyle

public Style getStyle()
Gets the Chuck Norris style.

Returns:
the style

getFact

public String getFact()
Gets the Chuck Norris fact.

Returns:
the fact


Copyright © 2004-2013. All Rights Reserved.