Package deltix.qsrv.solgen.net
Class VsProject
- java.lang.Object
-
- deltix.qsrv.solgen.net.VsProject
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyNET_PROJECT_NAMEstatic PropertyNET_PROJECT_ROOTstatic java.lang.StringPROJECT_TYPEstatic java.util.List<Property>PROPERTIES
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateCsproj()voidcreateNuget()voidcreateSkeleton()Creates project skeleton.voidcreateSln()voidflush()java.nio.file.PathgetLibsRoot()Project libs directory.java.nio.file.PathgetProjectRoot()Project root.java.nio.file.PathgetResourcesRoot()Resources root.java.util.List<java.nio.file.Path>getScripts()Project scripts.java.nio.file.PathgetSourcesRoot()Sources root.voidmarkAsScript(java.nio.file.Path path)voidsetProjectProperty(java.lang.String key, java.lang.String value)Sets project property.
-
-
-
Field Detail
-
PROJECT_TYPE
public static final java.lang.String PROJECT_TYPE
- See Also:
- Constant Field Values
-
NET_PROJECT_ROOT
public static final Property NET_PROJECT_ROOT
-
NET_PROJECT_NAME
public static final Property NET_PROJECT_NAME
-
PROPERTIES
public static final java.util.List<Property> PROPERTIES
-
-
Method Detail
-
getSourcesRoot
public java.nio.file.Path getSourcesRoot()
Description copied from interface:ProjectSources root.- Specified by:
getSourcesRootin interfaceProject- Returns:
- sources root directory.
-
getResourcesRoot
public java.nio.file.Path getResourcesRoot()
Description copied from interface:ProjectResources root.- Specified by:
getResourcesRootin interfaceProject- Returns:
- resources root directory.
-
getProjectRoot
public java.nio.file.Path getProjectRoot()
Description copied from interface:ProjectProject root.- Specified by:
getProjectRootin interfaceProject- Returns:
- project root directory.
-
getLibsRoot
public java.nio.file.Path getLibsRoot()
Description copied from interface:ProjectProject libs directory.- Specified by:
getLibsRootin interfaceProject- Returns:
- path to libs root.
-
getScripts
public java.util.List<java.nio.file.Path> getScripts()
Description copied from interface:ProjectProject scripts.- Specified by:
getScriptsin interfaceProject- Returns:
- list of project scripts.
-
markAsScript
public void markAsScript(java.nio.file.Path path)
- Specified by:
markAsScriptin interfaceProject
-
setProjectProperty
public void setProjectProperty(java.lang.String key, java.lang.String value)Description copied from interface:ProjectSets project property.- Specified by:
setProjectPropertyin interfaceProject- Parameters:
key- property pathvalue- property value
-
createSkeleton
public void createSkeleton() throws java.io.IOExceptionDescription copied from interface:ProjectCreates project skeleton.- Specified by:
createSkeletonin interfaceProject- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin interfacejava.io.Flushable- Throws:
java.io.IOException
-
createSln
public void createSln() throws java.io.FileNotFoundException- Throws:
java.io.FileNotFoundException
-
createCsproj
public void createCsproj() throws java.io.FileNotFoundException- Throws:
java.io.FileNotFoundException
-
createNuget
public void createNuget() throws java.io.FileNotFoundException- Throws:
java.io.FileNotFoundException
-
-