org.stjs.generator
Class GenerationDirectory

java.lang.Object
  extended by org.stjs.generator.GenerationDirectory

public class GenerationDirectory
extends Object

This class is used to provide the different parts of the target directory: the absolute directory (during generation), the part relative to the project's directory used when the classpath for tests is built and the part that is saved within the .stjs files, that should be used later one (for example when this project is used as a dependency - jar/war).
The 3 parts are different for the files generated for the main classes compared to the test classes

Author:
acraciun

Constructor Summary
GenerationDirectory(File absolutePath, File classpath, File relativeToClasspath)
           
 
Method Summary
 File getAbsolutePath()
           
 File getClasspath()
           
 File getRelativeToClasspath()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenerationDirectory

public GenerationDirectory(File absolutePath,
                           File classpath,
                           File relativeToClasspath)
Method Detail

getAbsolutePath

public File getAbsolutePath()

getClasspath

public File getClasspath()

getRelativeToClasspath

public File getRelativeToClasspath()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.