public class ProjectInformation extends Object implements Serializable
Constructor and Description |
---|
ProjectInformation(Timeout timeout,
SourceCodeFileProvider fileProvider,
String buildPath,
Charset charset,
Set<LaunchConfiguration> launchConfigurations)
Creates a new Project Information.
|
Modifier and Type | Method and Description |
---|---|
String |
getBuildPath()
Queries the project’s build path.
|
Charset |
getCharset()
Queries the project’s charset.
|
SourceCodeFileProvider |
getFileProvider()
Queries the provider responsible to get the source files Beagle shall analyse.
|
Set<LaunchConfiguration> |
getLaunchConfigurations()
Queries the configurations defining how to launch the measured software.
|
Timeout |
getTimeout()
Returns the timeout to be used.
|
public ProjectInformation(Timeout timeout, SourceCodeFileProvider fileProvider, String buildPath, Charset charset, Set<LaunchConfiguration> launchConfigurations)
timeout
- The timeout to be used.fileProvider
- The provider of the source files to be analysed.buildPath
- The class path containing everything needed to compile the
project.charset
- The charset used for all files in the project. May be null
,
in this case Charset.defaultCharset()
will be used.launchConfigurations
- The configurations defining how to launch the measured
software. Must not be null
, must not contain null
, must
not be empty.public String getBuildPath()
null
.public Charset getCharset()
null
.public Timeout getTimeout()
public SourceCodeFileProvider getFileProvider()
public Set<LaunchConfiguration> getLaunchConfigurations()
null
, nor
contain null
, nor be empty.