ua.gradsoft.javachecker
Class JavaCheckerFacade

java.lang.Object
  extended by ua.gradsoft.javachecker.JavaCheckerFacade

public class JavaCheckerFacade
extends java.lang.Object

Facade java class, to invoke JavaChecker from other programs.

Author:
Ruslan Shevchenko

Method Summary
static void addIncludeJar(java.lang.String includeJar)
          add include jar
static void addInputDirectory(java.lang.String inputDirectory, boolean process)
          add input directory
static void addPropertiesDirectory(java.lang.String inputDirectory)
          add properties directory
static java.lang.String getHome()
          set home
static PackagesStore getPackagesStore()
          get packages store
static java.lang.String getTmpDir()
           
static void init()
          initialize JavaCheker.
static boolean isHomeRequired()
           
static boolean isMandatoryCheckersLoading()
           
static void process()
           
static void process(java.util.List<AnalyzedUnitRef> unitRefs)
           
static void processOneFile(java.lang.String fullClassName)
           
static void setHome(java.lang.String home)
          set home
static void setHomeRequired(boolean value)
           
static void setMandatoryCheckersLoading(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static void init()
                 throws ConfigException
initialize JavaCheker. Must be called before any operation on it or on resolver.

Throws:
ConfigException

addInputDirectory

public static void addInputDirectory(java.lang.String inputDirectory,
                                     boolean process)
add input directory


addIncludeJar

public static void addIncludeJar(java.lang.String includeJar)
add include jar


addPropertiesDirectory

public static void addPropertiesDirectory(java.lang.String inputDirectory)
add properties directory


getPackagesStore

public static PackagesStore getPackagesStore()
get packages store


setHome

public static void setHome(java.lang.String home)
set home


getHome

public static java.lang.String getHome()
set home


isHomeRequired

public static boolean isHomeRequired()

setHomeRequired

public static void setHomeRequired(boolean value)

getTmpDir

public static java.lang.String getTmpDir()

isMandatoryCheckersLoading

public static boolean isMandatoryCheckersLoading()

setMandatoryCheckersLoading

public static void setMandatoryCheckersLoading(boolean value)

process

public static void process()
                    throws ProcessingException
Throws:
ProcessingException

process

public static void process(java.util.List<AnalyzedUnitRef> unitRefs)
                    throws ProcessingException
Throws:
ProcessingException

processOneFile

public static void processOneFile(java.lang.String fullClassName)
                           throws ProcessingException
Throws:
ProcessingException