Package org.jtool.jxplatform.builder
Class JavaModelBuilder
java.lang.Object
org.jtool.jxplatform.builder.JavaModelBuilder
Builds a Java Model for stand-alone use.
-
Constructor Summary
ConstructorsConstructorDescriptionJavaModelBuilder
(String[] args) Creates a command-line mode model builder.JavaModelBuilder
(String name, String target) Builds a source code model for target projects.JavaModelBuilder
(String name, String target, String classpath) Builds a source code model for target projects.Creates a command-line mode model builder. -
Method Summary
-
Constructor Details
-
JavaModelBuilder
Creates a command-line mode model builder.- Parameters:
args
- the command-line options
-
JavaModelBuilder
Builds a source code model for target projects.- Parameters:
name
- the name of the created modeltarget
- the directory storing the target projects
-
JavaModelBuilder
Builds a source code model for target projects.- Parameters:
name
- the name of the created modeltarget
- the directory storing the target projectsclasspath
- the path where the needed class (or jar) files are located
-
JavaModelBuilder
public JavaModelBuilder(String name, String target, String classpath, String srcpath, String binpath) Creates a command-line mode model builder.- Parameters:
name
- the name of the created modeltarget
- the directory storing the target projectclasspath
- the file path where the needed class (or jar) files are locatedsrcpath
- the file path where the source files are locatedbinpath
- the file path where the binary files are located
-
-
Method Details
-
build
Builds a source code model for the project specified by the command options.- Returns:
- the collection of created project data
-
unbuild
public void unbuild()Disposes the created models. -
main
Launches this application with options- Parameters:
args
- the specified options
-