hudson.plugins.promoted_builds_simple
Class PromoteAction

java.lang.Object
  extended by hudson.plugins.promoted_builds_simple.PromoteAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.BuildBadgeAction, hudson.model.ModelObject

@ExportedBean(defaultVisibility=2)
public class PromoteAction
extends Object
implements hudson.model.BuildBadgeAction

Store promotion level for a build.

Author:
Alan Harder

Constructor Summary
PromoteAction()
           
 
Method Summary
 void doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
static List<PromotionLevel> getAllPromotionLevels()
           
 String getDisplayName()
           
 String getIconFileName()
           
 String getIconPath()
           
 String getLevel()
           
 int getLevelValue()
           
 String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromoteAction

public PromoteAction()
Method Detail

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getLevel

@Exported
public String getLevel()

getLevelValue

@Exported
public int getLevelValue()

getIconPath

public String getIconPath()

getAllPromotionLevels

public static List<PromotionLevel> getAllPromotionLevels()

doIndex

public void doIndex(org.kohsuke.stapler.StaplerRequest req,
                    org.kohsuke.stapler.StaplerResponse rsp)
             throws IOException,
                    javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException


Copyright © 2004-2011. All Rights Reserved.