sota
Class ProjectConfiguration

java.lang.Object
  extended by sota.ProjectConfiguration

public class ProjectConfiguration
extends java.lang.Object

Provides a project configuration for a test instance of SotaATM. It contains the same information as a SOTA project file.


Field Summary
 java.lang.String antBuildfile
          The ant buildfile to compile the project.
 java.lang.String antLocation
          The path to Apache Ant.
 java.lang.String backupExtension
          The extension for the backup of the source code files.
 java.lang.String execDir
          The execution directory of the test project, if different from the projectDir.
 java.lang.String language
          The programming language used.
 java.lang.String name
          The name of the project.
 java.lang.String prefix
          The prefix to use for source code instrumenation to avoid name collisions of variables.
 java.lang.String projectDir
          The base directory of the test project.
 java.lang.String runScript
          The run script of the project.
 java.util.TreeSet<java.lang.String> setOfFileNames
          The set of source files to import.
 java.lang.String srcDir
          The directory from which all source files will be imported.
 
Constructor Summary
ProjectConfiguration()
          Instantiates an empty configuration.
ProjectConfiguration(java.lang.String name, java.lang.String language, java.lang.String projectDir)
          Instantiates a project configuration where the project directory is the same as the execution directory and the directory for soure code import.
ProjectConfiguration(java.lang.String name, java.lang.String language, java.lang.String projectDir, java.lang.String execDir)
          Instantiates a project configuration where the project directory is the same as the directory for soure code import.
ProjectConfiguration(java.lang.String name, java.lang.String language, java.lang.String projectDir, java.lang.String execDir, java.lang.String srcDir)
          Instantiates a project configuration.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

antBuildfile

public java.lang.String antBuildfile
The ant buildfile to compile the project.


antLocation

public java.lang.String antLocation
The path to Apache Ant.


backupExtension

public java.lang.String backupExtension
The extension for the backup of the source code files.


execDir

public java.lang.String execDir
The execution directory of the test project, if different from the projectDir.


language

public java.lang.String language
The programming language used.


name

public java.lang.String name
The name of the project.


prefix

public java.lang.String prefix
The prefix to use for source code instrumenation to avoid name collisions of variables.


projectDir

public java.lang.String projectDir
The base directory of the test project.


runScript

public java.lang.String runScript
The run script of the project.


setOfFileNames

public java.util.TreeSet<java.lang.String> setOfFileNames
The set of source files to import.


srcDir

public java.lang.String srcDir
The directory from which all source files will be imported.

Constructor Detail

ProjectConfiguration

public ProjectConfiguration()
Instantiates an empty configuration.


ProjectConfiguration

public ProjectConfiguration(java.lang.String name,
                            java.lang.String language,
                            java.lang.String projectDir)
Instantiates a project configuration where the project directory is the same as the execution directory and the directory for soure code import.

Parameters:
name - the name
language - the programming languamge
projectDir - the project directory

ProjectConfiguration

public ProjectConfiguration(java.lang.String name,
                            java.lang.String language,
                            java.lang.String projectDir,
                            java.lang.String execDir)
Instantiates a project configuration where the project directory is the same as the directory for soure code import.

Parameters:
name - the name
language - the programming languamge
projectDir - the project directory
execDir - the execution directory

ProjectConfiguration

public ProjectConfiguration(java.lang.String name,
                            java.lang.String language,
                            java.lang.String projectDir,
                            java.lang.String execDir,
                            java.lang.String srcDir)
Instantiates a project configuration.

Parameters:
name - the name
language - the programming languamge
projectDir - the project directory
execDir - the execution directory
srcDir - the directory of source files