de.smartics.maven.util.report.link
Interface LinkConstructorStrategy

Package class diagram package LinkConstructorStrategy
All Known Implementing Classes:
AbstractLinkConstructorStrategy, DirectoryPathLinkConstructorStrategy, FilePathLinkConstructorStrategy, LineNumberDirectoryPathLinkConstructorStrategy, SingleDocumentLinkConstructorStrategy, SurefireLinkConstructorStrategy

public interface LinkConstructorStrategy

Defines the API to a strategy to handle information to construct a link.


Method Summary
 String constructLink(String basePath, JavaElementRef ref)
          Constructs a link to the specified Java element.
 LinkConstructorStrategyConfig getConfig()
          Returns the configuration of this strategy instance.
 

Method Detail

getConfig

LinkConstructorStrategyConfig getConfig()
Returns the configuration of this strategy instance.

Returns:
the configuration of this strategy instance.

constructLink

String constructLink(String basePath,
                     JavaElementRef ref)
Constructs a link to the specified Java element.

Returns:
the link to the element.


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