com.ikokoon.serenity.hudson
Class SerenityProjectAction

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Actionable
          extended by com.ikokoon.serenity.hudson.SerenityProjectAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, hudson.model.ProminentProjectAction, hudson.search.SearchableModelObject, hudson.search.SearchItem

public class SerenityProjectAction
extends hudson.model.Actionable
implements hudson.model.ProminentProjectAction

An object in the chain of proxy objects that serve the front end in Hudson.

Since:
09.12.09
Version:
01.00
Author:
Michael Couck

Constructor Summary
SerenityProjectAction(hudson.model.AbstractProject owner)
          Constructor takes the real build from Hudson.
 
Method Summary
 void doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 java.lang.String getDisplayName()
          
 java.lang.String getIconFileName()
          
 ISerenityResult getLastResult()
           
 java.lang.String getSearchUrl()
          
 java.lang.String getUrlName()
          
 boolean hasResult()
           
 
Methods inherited from class hudson.model.Actionable
addAction, getAction, getAction, getActions, getActions, getDynamic
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerenityProjectAction

public SerenityProjectAction(hudson.model.AbstractProject owner)
Constructor takes the real build from Hudson.

Parameters:
owner - the build that generated the actual build
Method Detail

getDisplayName

public java.lang.String getDisplayName()

Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getIconFileName

public java.lang.String getIconFileName()

Specified by:
getIconFileName in interface hudson.model.Action

getUrlName

public java.lang.String getUrlName()

Specified by:
getUrlName in interface hudson.model.Action

getSearchUrl

public java.lang.String getSearchUrl()

Specified by:
getSearchUrl in interface hudson.search.SearchItem

getLastResult

public ISerenityResult getLastResult()

doIndex

public void doIndex(org.kohsuke.stapler.StaplerRequest req,
                    org.kohsuke.stapler.StaplerResponse rsp)
             throws java.io.IOException
Throws:
java.io.IOException

hasResult

public boolean hasResult()


Copyright © 2010. All Rights Reserved.