Class VsProject

  • All Implemented Interfaces:
    Project, java.io.Flushable

    public class VsProject
    extends java.lang.Object
    implements Project
    • Field Detail

      • CPP_PROJECT_ROOT

        public static final Property CPP_PROJECT_ROOT
      • CPP_PROJECT_NAME

        public static final Property CPP_PROJECT_NAME
      • PROPERTIES

        public static final java.util.List<Property> PROPERTIES
    • Constructor Detail

      • VsProject

        public VsProject​(java.util.Properties properties)
      • VsProject

        public VsProject​(java.nio.file.Path root,
                         java.lang.String name)
    • Method Detail

      • getSourcesRoot

        public java.nio.file.Path getSourcesRoot()
        Description copied from interface: Project
        Sources root.
        Specified by:
        getSourcesRoot in interface Project
        Returns:
        sources root directory.
      • getResourcesRoot

        public java.nio.file.Path getResourcesRoot()
        Description copied from interface: Project
        Resources root.
        Specified by:
        getResourcesRoot in interface Project
        Returns:
        resources root directory.
      • getProjectRoot

        public java.nio.file.Path getProjectRoot()
        Description copied from interface: Project
        Project root.
        Specified by:
        getProjectRoot in interface Project
        Returns:
        project root directory.
      • getLibsRoot

        public java.nio.file.Path getLibsRoot()
        Description copied from interface: Project
        Project libs directory.
        Specified by:
        getLibsRoot in interface Project
        Returns:
        path to libs root.
      • getScripts

        public java.util.List<java.nio.file.Path> getScripts()
        Description copied from interface: Project
        Project scripts.
        Specified by:
        getScripts in interface Project
        Returns:
        list of project scripts.
      • markAsScript

        public void markAsScript​(java.nio.file.Path path)
        Specified by:
        markAsScript in interface Project
      • setProjectProperty

        public void setProjectProperty​(java.lang.String key,
                                       java.lang.String value)
        Description copied from interface: Project
        Sets project property.
        Specified by:
        setProjectProperty in interface Project
        Parameters:
        key - property path
        value - property value
      • createSkeleton

        public void createSkeleton()
                            throws java.io.IOException
        Description copied from interface: Project
        Creates project skeleton.
        Specified by:
        createSkeleton in interface Project
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Specified by:
        flush in interface java.io.Flushable
        Throws:
        java.io.IOException
      • getName

        public java.lang.String getName()