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.PermalinkProjectAction, hudson.model.ProminentProjectAction

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

For customizing project top-level GUI.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.model.PermalinkProjectAction
hudson.model.PermalinkProjectAction.Permalink
 
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<hudson.model.PermalinkProjectAction.Permalink> getPermalinks()
           
 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.


getPermalinks

public java.util.List<hudson.model.PermalinkProjectAction.Permalink> getPermalinks()
Specified by:
getPermalinks in interface hudson.model.PermalinkProjectAction

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 © 2004-2011. All Rights Reserved.