de.smartics.maven.util.report.link
Class LinkConstructorStrategyConfig.Builder

Package class diagram package LinkConstructorStrategyConfig.Builder
java.lang.Object
  extended by de.smartics.maven.util.report.link.LinkConstructorStrategyConfig.Builder
Enclosing class:
LinkConstructorStrategyConfig

public static final class LinkConstructorStrategyConfig.Builder
     
     
extends Object

Builds instances of LinkConstructorStrategyConfig.


Constructor Summary
LinkConstructorStrategyConfig.Builder()
           
 
Method Summary
 LinkConstructorStrategyConfig build()
          Creates the congfiguration instance.
 void setExtension(String extension)
          Sets the extension to the file name to reference to.
 void setLabelKey(String labelKey)
          Sets the key to the label to use as a label for the rendered link.
 void setReferenceMember(boolean referenceMember)
          Sets the hint to request to construct a strategy specific link part to reference a member.
 void setReportLocation(File reportLocation)
          Sets the location of the report to link to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkConstructorStrategyConfig.Builder

public LinkConstructorStrategyConfig.Builder()
Method Detail

setReportLocation

public void setReportLocation(File reportLocation)
Sets the location of the report to link to.

Parameters:
reportLocation - the location of the report to link to.

setExtension

public void setExtension(String extension)
                  throws IllegalArgumentException
Sets the extension to the file name to reference to. Usually this is html.

Parameters:
extension - the extension to the file name to reference to.
Throws:
IllegalArgumentException

setReferenceMember

public void setReferenceMember(boolean referenceMember)
Sets the hint to request to construct a strategy specific link part to reference a member.

Parameters:
referenceMember - the hint to request to construct a strategy specific link part to reference a member.

setLabelKey

public void setLabelKey(String labelKey)
Sets the key to the label to use as a label for the rendered link.

Parameters:
labelKey - the key to the label to use as a label for the rendered link.

build

public LinkConstructorStrategyConfig build()
Creates the congfiguration instance.

Returns:
the congfiguration instance.


Copyright © 2006-2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.