Class ProjectCreationResult
- java.lang.Object
-
- net.ssehub.easy.producer.core.persistence.standard.ProjectCreationResult
-
- All Implemented Interfaces:
IProjectCreationResult
- Direct Known Subclasses:
EclipseProjectCreationResult
public class ProjectCreationResult extends java.lang.Object implements IProjectCreationResult
- Author:
- El-Sharkawy
-
-
Field Summary
Fields Modifier and Type Field Description private ScriptmainBuildScriptprivate java.io.FileprojectFolderprivate java.lang.StringprojectIDprivate ProjectvarModelprivate java.io.FilevarModelProjectLocation
-
Constructor Summary
Constructors Constructor Description ProjectCreationResult(java.io.File projectFolder, java.lang.String projectID, java.io.File varModelProjectLocation, Project varModel, Script mainBuildScript)Sole constructor for this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptgetBuildScript()Returns the main build script for instantiating the whole project.java.io.FilegetConfigFolder()Returns the location of configuration files for the newly created project.java.io.FilegetProjectFolder()Returns the top level location of the newly created project.java.lang.StringgetProjectID()Returns the projectID of the newly created project.ProjectgetVarModel()Returns the variability model of the newly created project.java.io.FilegetVarModelProjectPath()Returns the absolute path of the newly created VarModel project (ivml project).protected voidsetVarModelProjectPath(java.io.File varModelProjectLocation)Setter for the varModelProjectLocation.
-
-
-
Constructor Detail
-
ProjectCreationResult
public ProjectCreationResult(java.io.File projectFolder, java.lang.String projectID, java.io.File varModelProjectLocation, Project varModel, Script mainBuildScript)Sole constructor for this class.- Parameters:
projectFolder- The location of the newly created project.projectID- The ID of the newly created project.varModelProjectLocation- The location of the (ivml) project file.varModel- The variability model of the newly created project.mainBuildScript- The main build script decriping how to instanciate the whole project.
-
-
Method Detail
-
getProjectFolder
public final java.io.File getProjectFolder()
Description copied from interface:IProjectCreationResultReturns the top level location of the newly created project.- Specified by:
getProjectFolderin interfaceIProjectCreationResult- Returns:
- The top level location of the newly created project.
-
getProjectID
public final java.lang.String getProjectID()
Description copied from interface:IProjectCreationResultReturns the projectID of the newly created project.- Specified by:
getProjectIDin interfaceIProjectCreationResult- Returns:
- The projectID of the newly created project.
-
getVarModelProjectPath
public final java.io.File getVarModelProjectPath()
Description copied from interface:IProjectCreationResultReturns the absolute path of the newly created VarModel project (ivml project).- Specified by:
getVarModelProjectPathin interfaceIProjectCreationResult- Returns:
- The absolute path of the newly created VarModel project.
-
setVarModelProjectPath
protected void setVarModelProjectPath(java.io.File varModelProjectLocation)
Setter for the varModelProjectLocation. This method should only be used by sub classes.- Parameters:
varModelProjectLocation- The new location of the varModel.
-
getVarModel
public Project getVarModel()
Description copied from interface:IProjectCreationResultReturns the variability model of the newly created project.- Specified by:
getVarModelin interfaceIProjectCreationResult- Returns:
- The variability model of the newly created project.
-
getConfigFolder
public java.io.File getConfigFolder()
Description copied from interface:IProjectCreationResultReturns the location of configuration files for the newly created project.- Specified by:
getConfigFolderin interfaceIProjectCreationResult- Returns:
- The location of configuration files for the newly created project.
-
getBuildScript
public Script getBuildScript()
Description copied from interface:IProjectCreationResultReturns the main build script for instantiating the whole project.- Specified by:
getBuildScriptin interfaceIProjectCreationResult- Returns:
- The starting point of the complete instantiation of the current project.
-
-