|
|||||||||
| Home >> All >> ch >> epfl >> lamp >> [ smartanalysis overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
ch.epfl.lamp.smartanalysis
Class SimpleProjectAnalyser

java.lang.Objectch.epfl.lamp.smartanalysis.ProjectAnalyser
ch.epfl.lamp.smartanalysis.SimpleProjectAnalyser
- public class SimpleProjectAnalyser
- extends ProjectAnalyser
A class analysing a classpath to find what class files/source were modified and what dependencies should also be recompiled.
- Version:
- 1.0
| Field Summary | |
protected java.util.Set |
toAnalyse
|
| Fields inherited from class ch.epfl.lamp.smartanalysis.ProjectAnalyser |
analyser, deletion, destPath, handle, list, sourcePath |
| Constructor Summary | |
SimpleProjectAnalyser(java.io.File f,
java.lang.String classPath,
java.lang.String[] sourcePath,
boolean logAnalysis,
Handle pro)
Creates a new SimpleProjectAnalyser instance from a cache file. |
|
SimpleProjectAnalyser(java.lang.String classPath,
java.lang.String[] sourcePath,
boolean logAnalysis,
Handle pro)
Creates a new SimpleProjectAnalyser instance from a cache file. |
|
| Method Summary | |
protected void |
classFileDeleted(DepClass dclass,
java.io.File classFile)
what should be done if a class file is deleted. |
protected void |
classFileModified(DepClass dclass,
java.io.File classFile)
what should be done if a class file is modified. |
protected java.util.Set |
findDependentClass()
|
DepClass[] |
getToClean()
get the class that should be cleaned. |
protected void |
newClassFile(java.lang.String className)
a new class has been found. |
protected void |
sourceFileModified(DepClass dclass,
java.io.File sourceFile)
what should be done if a source file is modified. |
protected void |
sourceFileNotDefined(DepClass dclass)
the source file for this class is not defined properly. |
protected void |
sourceFileNotFound(DepClass dclass)
the source file for this class has been deleted. |
| Methods inherited from class ch.epfl.lamp.smartanalysis.ProjectAnalyser |
analyseLog, analyseLog, cache, cache, done, finalize, findClassListModification, findModifiedSource, writeClassList |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
toAnalyse
protected java.util.Set toAnalyse
| Constructor Detail |
SimpleProjectAnalyser
public SimpleProjectAnalyser(java.lang.String classPath, java.lang.String[] sourcePath, boolean logAnalysis, Handle pro) throws java.io.IOException, java.lang.ClassNotFoundException, DuplicatedClassException, ch.epfl.lamp.smartanalysis.util.FileNotFoundException
- Creates a new
SimpleProjectAnalyserinstance from a cache file.
SimpleProjectAnalyser
public SimpleProjectAnalyser(java.io.File f, java.lang.String classPath, java.lang.String[] sourcePath, boolean logAnalysis, Handle pro) throws java.io.FileNotFoundException, java.io.IOException, java.io.OptionalDataException, java.lang.ClassNotFoundException, java.lang.Exception
- Creates a new
SimpleProjectAnalyserinstance from a cache file.
| Method Detail |
newClassFile
protected void newClassFile(java.lang.String className) throws java.lang.Exception
- Description copied from class:
ProjectAnalyser - a new class has been found.
- Specified by:
newClassFilein classProjectAnalyser
classFileDeleted
protected void classFileDeleted(DepClass dclass, java.io.File classFile)
- what should be done if a class file is deleted.
- Specified by:
classFileDeletedin classProjectAnalyser
classFileModified
protected void classFileModified(DepClass dclass, java.io.File classFile)
- what should be done if a class file is modified.
- Specified by:
classFileModifiedin classProjectAnalyser
sourceFileNotFound
protected void sourceFileNotFound(DepClass dclass) throws java.lang.Exception
- Description copied from class:
ProjectAnalyser - the source file for this class has been deleted.
- Specified by:
sourceFileNotFoundin classProjectAnalyser
sourceFileNotDefined
protected void sourceFileNotDefined(DepClass dclass) throws java.lang.Exception
- Description copied from class:
ProjectAnalyser - the source file for this class is not defined properly.
- Specified by:
sourceFileNotDefinedin classProjectAnalyser
sourceFileModified
protected void sourceFileModified(DepClass dclass, java.io.File sourceFile)
- what should be done if a source file is modified.
- Specified by:
sourceFileModifiedin classProjectAnalyser
findDependentClass
protected java.util.Set findDependentClass()
getToClean
public DepClass[] getToClean()
- get the class that should be cleaned.
|
|||||||||
| Home >> All >> ch >> epfl >> lamp >> [ smartanalysis overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC