com.github.searls.jasmine.runner
Class HtmlGeneratorConfiguration

java.lang.Object
  extended by com.github.searls.jasmine.runner.HtmlGeneratorConfiguration

public class HtmlGeneratorConfiguration
extends Object


Constructor Summary
HtmlGeneratorConfiguration(ReporterType reporterType, AbstractJasmineMojo configuration, ScriptResolver scriptResolver)
           
 
Method Summary
 boolean equals(Object o)
           
 Set<String> getAllScripts()
           
 Set<String> getAllScriptsRelativePath()
           
 String getCustomRunnerConfiguration()
           
 File getCustomRunnerTemplate()
           
 Set<String> getPreloads()
           
 Set<String> getPreloadsRelativePath()
           
 ReporterType getReporterType()
           
 String getRunnerTemplate(String defaultHtmlTemplatePath)
           
 String getScriptLoaderPath()
           
 String getSourceDirectory()
           
 String getSourceDirectoryRelativePath()
           
 String getSourceEncoding()
           
 String getSpecRunnerTemplate()
           
 Set<String> getSpecs()
           
 Set<String> getSpecsRelativePath()
           
 int hashCode()
           
 String IOtoString(String defaultHtmlTemplatePath)
           
 String readFileToString(File customRunnerTemplate)
           
 void setFileUtilsWrapper(FileUtilsWrapper fileUtilsWrapper)
           
 void setIoUtilsWrapper(IOUtilsWrapper ioUtilsWrapper)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlGeneratorConfiguration

public HtmlGeneratorConfiguration(ReporterType reporterType,
                                  AbstractJasmineMojo configuration,
                                  ScriptResolver scriptResolver)
                           throws IOException
Throws:
IOException
Method Detail

getAllScripts

public Set<String> getAllScripts()
                          throws IOException
Throws:
IOException

getAllScriptsRelativePath

public Set<String> getAllScriptsRelativePath()
                                      throws IOException
Throws:
IOException

getSourceEncoding

public String getSourceEncoding()

getReporterType

public ReporterType getReporterType()

getCustomRunnerTemplate

public File getCustomRunnerTemplate()

readFileToString

public String readFileToString(File customRunnerTemplate)
                        throws IOException
Throws:
IOException

IOtoString

public String IOtoString(String defaultHtmlTemplatePath)
                  throws IOException
Throws:
IOException

getRunnerTemplate

public String getRunnerTemplate(String defaultHtmlTemplatePath)
                         throws IOException
Throws:
IOException

getSpecRunnerTemplate

public String getSpecRunnerTemplate()

getSpecs

public Set<String> getSpecs()
                     throws IOException
Throws:
IOException

getSourceDirectory

public String getSourceDirectory()
                          throws IOException
Throws:
IOException

getPreloads

public Set<String> getPreloads()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getSpecsRelativePath

public Set<String> getSpecsRelativePath()
                                 throws IOException
Throws:
IOException

getSourceDirectoryRelativePath

public String getSourceDirectoryRelativePath()
                                      throws IOException
Throws:
IOException

getPreloadsRelativePath

public Set<String> getPreloadsRelativePath()
                                    throws IOException
Throws:
IOException

getCustomRunnerConfiguration

public String getCustomRunnerConfiguration()
                                    throws IOException
Throws:
IOException

setFileUtilsWrapper

public void setFileUtilsWrapper(FileUtilsWrapper fileUtilsWrapper)

setIoUtilsWrapper

public void setIoUtilsWrapper(IOUtilsWrapper ioUtilsWrapper)

getScriptLoaderPath

public String getScriptLoaderPath()


Copyright © 2012. All Rights Reserved.