Package science.aist.neo4j
Class Neo4JNamespacePreprocessorMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- science.aist.neo4j.Neo4JNamespacePreprocessorMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="namespace", defaultPhase=PROCESS_TEST_CLASSES, requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public class Neo4JNamespacePreprocessorMojo extends org.apache.maven.plugin.AbstractMojo
Preprocessor for adding the hidden fields required by neo4J namespacing- Since:
- 1.0
- Author:
- Oliver Krauss
-
-
Field Summary
Fields Modifier and Type Field Description static String
NEO4J_EXTENSIONS_FIELD
Field that the extensions will be stored in TODO #28 merge with ClassInfo field Extensions are a key value pair (key == extension identifier, value == content of extension)static String
NEO4J_LABELS_FIELD
Field that the labels will be stored in TODO #28 merge with ClassInfo fieldstatic String
NEO4J_MAP_RELATIONSHIPS_FIELD
Field that identities of already saved complex relationships will be stored in.static String
Neo4J_RELATION_FIELD
Field that the Neo4J Syncing will happen in TODO #28 merge with ClassInfo fieldstatic String
NEO4J_SYNC_FIELD
Field that the Neo4J Syncing will happen in TODO #28 merge with ClassInfo fieldstatic String
NEW_JAVA_UTIL_HASH_MAP
Constant to create a new JavaHashMap
-
Constructor Summary
Constructors Constructor Description Neo4JNamespacePreprocessorMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
void
listf(String delimiter, String directoryName, Map<String,File> files)
Helper function loading all classes into a file map
-
-
-
Field Detail
-
NEO4J_SYNC_FIELD
public static final String NEO4J_SYNC_FIELD
Field that the Neo4J Syncing will happen in TODO #28 merge with ClassInfo field- See Also:
- Constant Field Values
-
Neo4J_RELATION_FIELD
public static final String Neo4J_RELATION_FIELD
Field that the Neo4J Syncing will happen in TODO #28 merge with ClassInfo field- See Also:
- Constant Field Values
-
NEO4J_LABELS_FIELD
public static final String NEO4J_LABELS_FIELD
Field that the labels will be stored in TODO #28 merge with ClassInfo field- See Also:
- Constant Field Values
-
NEO4J_EXTENSIONS_FIELD
public static final String NEO4J_EXTENSIONS_FIELD
Field that the extensions will be stored in TODO #28 merge with ClassInfo field Extensions are a key value pair (key == extension identifier, value == content of extension)- See Also:
- Constant Field Values
-
NEO4J_MAP_RELATIONSHIPS_FIELD
public static final String NEO4J_MAP_RELATIONSHIPS_FIELD
Field that identities of already saved complex relationships will be stored in. TODO #28 merge with ClassInfo field Is a hash map of <KEY,RELATIONSHIP_ID>- See Also:
- Constant Field Values
-
NEW_JAVA_UTIL_HASH_MAP
public static final String NEW_JAVA_UTIL_HASH_MAP
Constant to create a new JavaHashMap
- See Also:
- Constant Field Values
-
-