Class StandaloneProjectDescriptor
- java.lang.Object
-
- net.ssehub.easy.producer.core.persistence.standard.StandaloneProjectDescriptor
-
- All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptor
public class StandaloneProjectDescriptor extends java.lang.Object implements net.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptorImplements a descriptor for the source and target VIL project locations. Thesecond constructorallows to specify a different target location.- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Constructor Description StandaloneProjectDescriptor(net.ssehub.easy.basics.modelManagement.ModelInfo<net.ssehub.easy.instantiation.core.model.buildlangModel.Script> vilInfo, java.io.File base)Creates a standalone project descriptor.StandaloneProjectDescriptor(net.ssehub.easy.instantiation.core.model.buildlangModel.Script vilScript, java.io.File base)Creates a standalone project descriptor.StandaloneProjectDescriptor(net.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptor parent, java.io.File base)Allows to instantiate into a given location.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.ssehub.easy.basics.progress.ProgressObservercreateObserver()java.io.FilegetBase()net.ssehub.easy.instantiation.core.model.buildlangModel.ScriptgetMainVilScript()java.lang.StringgetModelFolder(net.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptor.ModelKind kind)net.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptorgetPredecessor(int index)intgetPredecessorCount()
-
-
-
Constructor Detail
-
StandaloneProjectDescriptor
public StandaloneProjectDescriptor(net.ssehub.easy.basics.modelManagement.ModelInfo<net.ssehub.easy.instantiation.core.model.buildlangModel.Script> vilInfo, java.io.File base) throws net.ssehub.easy.basics.modelManagement.ModelManagementExceptionCreates a standalone project descriptor.- Parameters:
vilInfo- the model information instance for the VIL script to runbase- the folder to instantiate into- Throws:
net.ssehub.easy.basics.modelManagement.ModelManagementException- in case that resolving the model, obtaining information etc failed.
-
StandaloneProjectDescriptor
public StandaloneProjectDescriptor(net.ssehub.easy.instantiation.core.model.buildlangModel.Script vilScript, java.io.File base) throws net.ssehub.easy.basics.modelManagement.ModelManagementExceptionCreates a standalone project descriptor.- Parameters:
vilScript- the VIL script to runbase- the folder to instantiate into- Throws:
net.ssehub.easy.basics.modelManagement.ModelManagementException- in case that resolving the model, obtaining information etc failed.
-
StandaloneProjectDescriptor
public StandaloneProjectDescriptor(net.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptor parent, java.io.File base)Allows to instantiate into a given location.- Parameters:
parent- the parent descriptor (also representing the source, to be obtained via#ProjectDescriptor())base- the folder to instantiate into
-
-
Method Detail
-
getBase
public java.io.File getBase()
- Specified by:
getBasein interfacenet.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptor
-
getPredecessorCount
public int getPredecessorCount()
- Specified by:
getPredecessorCountin interfacenet.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptor
-
getPredecessor
public net.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptor getPredecessor(int index)
- Specified by:
getPredecessorin interfacenet.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptor
-
getMainVilScript
public net.ssehub.easy.instantiation.core.model.buildlangModel.Script getMainVilScript()
- Specified by:
getMainVilScriptin interfacenet.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptor
-
createObserver
public net.ssehub.easy.basics.progress.ProgressObserver createObserver()
- Specified by:
createObserverin interfacenet.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptor
-
getModelFolder
public java.lang.String getModelFolder(net.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptor.ModelKind kind)
- Specified by:
getModelFolderin interfacenet.ssehub.easy.instantiation.core.model.vilTypes.IProjectDescriptor
-
-