Class StandaloneProjectDescriptor

  • All Implemented Interfaces:
    IProjectDescriptor

    public class StandaloneProjectDescriptor
    extends java.lang.Object
    implements IProjectDescriptor
    Implements a descriptor for the source and target VIL project locations. The second constructor allows to specify a different target location.
    Author:
    Holger Eichelberger
    • Constructor Detail

      • StandaloneProjectDescriptor

        public StandaloneProjectDescriptor​(ModelInfo<Script> vilInfo,
                                           java.io.File base)
                                    throws ModelManagementException
        Creates a standalone project descriptor.
        Parameters:
        vilInfo - the model information instance for the VIL script to run
        base - the folder to instantiate into
        Throws:
        ModelManagementException - in case that resolving the model, obtaining information etc failed.
      • StandaloneProjectDescriptor

        public StandaloneProjectDescriptor​(Script vilScript,
                                           java.io.File base)
                                    throws ModelManagementException
        Creates a standalone project descriptor.
        Parameters:
        vilScript - the VIL script to run
        base - the folder to instantiate into
        Throws:
        ModelManagementException - in case that resolving the model, obtaining information etc failed.
      • StandaloneProjectDescriptor

        public StandaloneProjectDescriptor​(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