Package org.hortonmachine.lesto
Class Lesto
java.lang.Object
org.hortonmachine.lesto.Lesto
Class presenting modules names and classes.
- Author:
- Andrea Antonello (www.hydrologis.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionString[]An array of all the class names of the modules.String[]An array of all the fields used in the modules.final LinkedHashMap<String,Class<?>> Amapof all the class names and the class itself.final LinkedHashMap<String,List<org.hortonmachine.gears.libs.modules.ClassField>> Amapof all the class names and their fields. -
Method Summary
-
Field Details
-
moduleName2Class
Amapof all the class names and the class itself. -
moduleName2Fields
public final LinkedHashMap<String,List<org.hortonmachine.gears.libs.modules.ClassField>> moduleName2FieldsAmapof all the class names and their fields. -
allFields
An array of all the fields used in the modules. -
allClasses
An array of all the class names of the modules.
-
-
Method Details
-
getInstance
Retrieves theLesto. If it exists, that instance is returned.- Returns:
- the lesto annotations class.
-
getInstance
Retrieves theLestofor a particular url path.When this method is called, the
Lestoinstance is reset.Be careful when you use this. This is a workaround needed for eclipse systems, where the url returned by the urlfinder is a bundleresource that would need to be resolved first with rcp tools we do not want to depend on.
- Returns:
- the horton machine annotations class.
-
main
- Throws:
IOException
-