hudson.maven.reporters
Class AbstractMavenJavadocArchiver.MavenJavadocAction

java.lang.Object
  extended by hudson.tasks.JavadocArchiver.JavadocAction
      extended by hudson.maven.reporters.AbstractMavenJavadocArchiver.MavenJavadocAction
All Implemented Interfaces:
Action, ModelObject, ProminentProjectAction
Enclosing class:
AbstractMavenJavadocArchiver

protected static class AbstractMavenJavadocArchiver.MavenJavadocAction
extends hudson.tasks.JavadocArchiver.JavadocAction


Constructor Summary
AbstractMavenJavadocArchiver.MavenJavadocAction(AbstractItem project, FilePath target, String title, String urlName, String displayName)
           
 
Method Summary
protected  File dir()
           
 String getDisplayName()
          Gets the string to be displayed.
protected  String getTitle()
           
 String getUrlName()
          Gets the URL path name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMavenJavadocArchiver.MavenJavadocAction

public AbstractMavenJavadocArchiver.MavenJavadocAction(AbstractItem project,
                                                       FilePath target,
                                                       String title,
                                                       String urlName,
                                                       String displayName)
Method Detail

getDisplayName

public String getDisplayName()
Description copied from interface: Action
Gets the string to be displayed. The convention is to capitalize the first letter of each word, such as "Test Result".

Specified by:
getDisplayName in interface Action
Specified by:
getDisplayName in interface ModelObject
Overrides:
getDisplayName in class hudson.tasks.JavadocArchiver.JavadocAction

getTitle

protected String getTitle()
Overrides:
getTitle in class hudson.tasks.JavadocArchiver.JavadocAction

getUrlName

public String getUrlName()
Description copied from interface: Action
Gets the URL path name.

tions For example, if this method returns "xyz", and if the parent object (that this action is associated with) is bound to /foo/bar/zot, then this action object will be exposed to /foo/bar/zot/xyz.

This method should return a string that's unique among other Actions.

The returned string can be an absolute URL, like "http://www.sun.com/", which is useful for directly connecting to external systems.

If the returned string starts with '/', like '/foo', then it's assumed to be relative to the context path of the Jenkins webapp.

Specified by:
getUrlName in interface Action
Overrides:
getUrlName in class hudson.tasks.JavadocArchiver.JavadocAction
Returns:
null if this action object doesn't need to be bound to web (when you do that, be sure to also return null from Action.getIconFileName().
See Also:
Functions.getActionUrl(String, Action)

dir

protected File dir()
Overrides:
dir in class hudson.tasks.JavadocArchiver.JavadocAction


Copyright © 2004-2013. All Rights Reserved.