com.github.searls.jasmine.io.scripts
Class AbstractScriptResolver
java.lang.Object
com.github.searls.jasmine.io.scripts.AbstractScriptResolver
- All Implemented Interfaces:
- ScriptResolver
- Direct Known Subclasses:
- ProjectDirScripResolver, TargetDirScriptResolver
public abstract class AbstractScriptResolver
- extends Object
- implements ScriptResolver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
baseDir
protected File baseDir
scriptSearchSources
protected ScriptSearch scriptSearchSources
scriptSearchSpecs
protected ScriptSearch scriptSearchSpecs
preloads
protected List<String> preloads
relativizer
protected RelativizesASetOfScripts relativizer
relativizesFilePaths
protected RelativizesFilePaths relativizesFilePaths
AbstractScriptResolver
public AbstractScriptResolver()
resolveScripts
public void resolveScripts()
throws IOException
- Specified by:
resolveScripts in interface ScriptResolver
- Throws:
IOException
getPreloads
public Set<String> getPreloads()
- Specified by:
getPreloads in interface ScriptResolver
getSources
public Set<String> getSources()
- Specified by:
getSources in interface ScriptResolver
getSpecs
public Set<String> getSpecs()
- Specified by:
getSpecs in interface ScriptResolver
getAllScripts
public Set<String> getAllScripts()
- Specified by:
getAllScripts in interface ScriptResolver
getSourceDirectory
public String getSourceDirectory()
throws IOException
- Specified by:
getSourceDirectory in interface ScriptResolver
- Throws:
IOException
getSpecDirectoryPath
public String getSpecDirectoryPath()
throws MalformedURLException
- Specified by:
getSpecDirectoryPath in interface ScriptResolver
- Throws:
MalformedURLException
getSourcesRelativePath
public Set<String> getSourcesRelativePath()
throws IOException
- Specified by:
getSourcesRelativePath in interface ScriptResolver
- Throws:
IOException
getSpecsRelativePath
public Set<String> getSpecsRelativePath()
throws IOException
- Specified by:
getSpecsRelativePath in interface ScriptResolver
- Throws:
IOException
getPreloadsRelativePath
public Set<String> getPreloadsRelativePath()
throws IOException
- Specified by:
getPreloadsRelativePath in interface ScriptResolver
- Throws:
IOException
getAllScriptsRelativePath
public Set<String> getAllScriptsRelativePath()
throws IOException
- Specified by:
getAllScriptsRelativePath in interface ScriptResolver
- Throws:
IOException
getSourceDirectoryRelativePath
public String getSourceDirectoryRelativePath()
throws IOException
- Specified by:
getSourceDirectoryRelativePath in interface ScriptResolver
- Throws:
IOException
getSpecDirectoryRelativePath
public String getSpecDirectoryRelativePath()
throws IOException
- Specified by:
getSpecDirectoryRelativePath in interface ScriptResolver
- Throws:
IOException
setScriptsToPreload
public void setScriptsToPreload(Set<String> scriptsToPreload)
setSources
public void setSources(Set<String> sources)
setSpecs
public void setSpecs(Set<String> specs)
Copyright © 2012. All Rights Reserved.