hudson.plugins.promoted_builds
Class PromotedProjectAction

java.lang.Object
  extended by hudson.plugins.promoted_builds.PromotedProjectAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, hudson.model.ProminentProjectAction

public class PromotedProjectAction
extends java.lang.Object
implements hudson.model.ProminentProjectAction

For customizing project top-level GUI.

Author:
Kohsuke Kawaguchi

Field Summary
 hudson.model.AbstractProject<?,?> owner
           
 
Constructor Summary
PromotedProjectAction(hudson.model.AbstractProject<?,?> owner, JobPropertyImpl property)
           
 
Method Summary
 java.lang.String getDisplayName()
           
 java.lang.String getIconFileName()
           
 hudson.model.AbstractBuild<?,?> getLatest(PromotionProcess p)
           
 hudson.model.AbstractBuild<?,?> getLatest(java.lang.String name)
          Finds the last promoted build under the given criteria.
 java.util.List<PromotionProcess> getProcesses()
           
 java.lang.String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

owner

public final hudson.model.AbstractProject<?,?> owner
Constructor Detail

PromotedProjectAction

public PromotedProjectAction(hudson.model.AbstractProject<?,?> owner,
                             JobPropertyImpl property)
Method Detail

getProcesses

public java.util.List<PromotionProcess> getProcesses()

getLatest

public hudson.model.AbstractBuild<?,?> getLatest(PromotionProcess p)

getLatest

public hudson.model.AbstractBuild<?,?> getLatest(java.lang.String name)
Finds the last promoted build under the given criteria.


getIconFileName

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

getDisplayName

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

getUrlName

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


Copyright © 2010. All Rights Reserved.