Class JavaModelBuilder

java.lang.Object
org.jtool.jxplatform.builder.JavaModelBuilder

public class JavaModelBuilder extends Object
Builds a Java Model for stand-alone use.
  • Constructor Details

    • JavaModelBuilder

      public JavaModelBuilder(String[] args)
      Creates a command-line mode model builder.
      Parameters:
      args - the command-line options
    • JavaModelBuilder

      public JavaModelBuilder(String name, String target)
      Builds a source code model for target projects.
      Parameters:
      name - the name of the created model
      target - the directory storing the target projects
    • JavaModelBuilder

      public JavaModelBuilder(String name, String target, String classpath)
      Builds a source code model for target projects.
      Parameters:
      name - the name of the created model
      target - the directory storing the target projects
      classpath - 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 model
      target - the directory storing the target project
      classpath - the file path where the needed class (or jar) files are located
      srcpath - the file path where the source files are located
      binpath - the file path where the binary files are located
  • Method Details

    • build

      public List<JavaProject> 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

      public static void main(String[] args)
      Launches this application with options
      Parameters:
      args - the specified options