org.hudsonci.maven.plugin.ui
Class MavenBuildUI

java.lang.Object
  extended by org.hudsonci.utils.plugin.ui.UIComponentSupport<MavenBuildAction>
      extended by org.hudsonci.maven.plugin.ui.MavenBuildUI
All Implemented Interfaces:
Action, ModelObject, Injectable

public class MavenBuildUI
extends UIComponentSupport<MavenBuildAction>
implements Injectable

Provides the UI support to display the Maven details for a build.

Since:
2.1.0
Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.hudsonci.utils.plugin.ui.UIComponentSupport
log, parent
 
Constructor Summary
MavenBuildUI(MavenBuildAction parent)
           
 
Method Summary
protected  void checkPermission(Permission perm)
           
 AbstractBuild getBuild()
           
 String getBuildNumber()
           
 String getDisplayName()
           
 String getIconFileName()
           
 String getPageTitle()
           
 String getProjectName()
           
 Object getSidePanelOwner()
           
 String getUrlName()
           
 Permission getViewPermission()
           
 void setProjectNameCodec(ProjectNameCodec projectNameCodec)
           
 
Methods inherited from class org.hudsonci.utils.plugin.ui.UIComponentSupport
getBaseRestURI, getHelpPath, getIconFileName, getIconPath, getImagesPath, getParent, getPluginName, getPluginPath, getPluginWrapper, getRootPath, redirect, redirectAncestor, redirectAncestor, redirectParent, redirectSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenBuildUI

public MavenBuildUI(MavenBuildAction parent)
Method Detail

setProjectNameCodec

@Inject
public void setProjectNameCodec(ProjectNameCodec projectNameCodec)

getDisplayName

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

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface Action
Overrides:
getUrlName in class UIComponentSupport<MavenBuildAction>

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface Action
Overrides:
getIconFileName in class UIComponentSupport<MavenBuildAction>

getSidePanelOwner

public Object getSidePanelOwner()
Overrides:
getSidePanelOwner in class UIComponentSupport<MavenBuildAction>

getPageTitle

public String getPageTitle()
Overrides:
getPageTitle in class UIComponentSupport<MavenBuildAction>

getBuild

@JellyAccessible
public AbstractBuild getBuild()

getProjectName

@JellyAccessible
public String getProjectName()

getBuildNumber

@JellyAccessible
public String getBuildNumber()

getViewPermission

public Permission getViewPermission()
Overrides:
getViewPermission in class UIComponentSupport<MavenBuildAction>

checkPermission

protected void checkPermission(Permission perm)
Overrides:
checkPermission in class UIComponentSupport<MavenBuildAction>


Copyright © 2004-2011 Hudson. All Rights Reserved.