|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.colby.cs.JeSS.actions.JeSSClearingHouse
This class acts as a clearing house to determine the type of the selected object and then pass it along the proper path to be processed. Each "process" method strips all previous JeSS markers off of the element and then creates a new instance of SecurityScanner to perform the scan
Constructor Summary | |
JeSSClearingHouse()
|
Method Summary | |
private static int |
processCompilationUnit(org.eclipse.jdt.core.ICompilationUnit unit,
org.eclipse.jface.preference.IPreferenceStore store)
Process a CompilationUnit to be scanned |
private static int |
processJavaProject(org.eclipse.jdt.core.IJavaProject project,
org.eclipse.jface.preference.IPreferenceStore store)
Process a javaProject to be scanned |
static int |
processObject(java.lang.Object obj,
org.eclipse.jface.preference.IPreferenceStore store)
The initial screening that determines the type of the selected object |
private static int |
processPackageFragment(org.eclipse.jdt.core.IPackageFragment fragment,
org.eclipse.jface.preference.IPreferenceStore store)
Process a PackageFragment to be scanned |
private static int |
processPackageFragmentRoot(org.eclipse.jdt.core.IPackageFragmentRoot root,
org.eclipse.jface.preference.IPreferenceStore store)
Process a package fragment root |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JeSSClearingHouse()
Method Detail |
public static int processObject(java.lang.Object obj, org.eclipse.jface.preference.IPreferenceStore store)
obj
- -
the selected object to be processedstore
- -
the preferences that determine the extent of the scan
private static int processCompilationUnit(org.eclipse.jdt.core.ICompilationUnit unit, org.eclipse.jface.preference.IPreferenceStore store)
unit
- -
the CompilationUnit to be scannedstore
- -
the preferences for the scan
private static int processPackageFragment(org.eclipse.jdt.core.IPackageFragment fragment, org.eclipse.jface.preference.IPreferenceStore store)
fragment
- -
the package fragment to be scannedstore
- -
the preferences for the scan
private static int processPackageFragmentRoot(org.eclipse.jdt.core.IPackageFragmentRoot root, org.eclipse.jface.preference.IPreferenceStore store)
root
- - the package root to be processedstore
- - the preferences for the scan
private static int processJavaProject(org.eclipse.jdt.core.IJavaProject project, org.eclipse.jface.preference.IPreferenceStore store)
project
- - the project to be scannedstore
- -
the preferences for the scan
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |