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 java.lang.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

Field Summary
private  java.lang.String mFact
          The fact.
private  Style mStyle
          The style.
 
Constructor Summary
RoundhouseAction(Style style, java.lang.String fact)
          Constructs a RoundhouseAction with specified style and fact.
 
Method Summary
 java.lang.String getDisplayName()
          Gets the action display name.
 java.lang.String getFact()
          Gets the Chuck Norris fact.
 java.lang.String getIconFileName()
          This action doesn't provide any icon file.
 Style getStyle()
          Gets the Chuck Norris style.
 java.lang.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
 

Field Detail

mStyle

private Style mStyle
The style.


mFact

private java.lang.String mFact
The fact.

Constructor Detail

RoundhouseAction

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

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

getDisplayName

public java.lang.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 java.lang.String getIconFileName()
This action doesn't provide any icon file.

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

getUrlName

public java.lang.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 java.lang.String getFact()
Gets the Chuck Norris fact.

Returns:
the fact


Copyright © 2009. All Rights Reserved.