org.harpreet.internetmeme
Class MemeAction

java.lang.Object
  extended by org.harpreet.internetmeme.MemeAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

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

MemeAction keeps the style and fact associated with the action.

Author:
cliffano, Harpreet Singh

Constructor Summary
MemeAction(Style style)
          Constructs a MemeAction with specified style and fact.
 
Method Summary
 String getDisplayFileName()
           
 String getDisplayName()
          Gets the action display name.
 String getIconFileName()
          This action doesn't provide any icon file.
 Style getStyle()
           
 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

MemeAction

public MemeAction(Style style)
Constructs a MemeAction with specified style and fact.

Parameters:
style - the style
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()
Returns:
the style

getDisplayFileName

public String getDisplayFileName()


Copyright © 2004-2014. All Rights Reserved.