Class 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 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
    • Constructor Detail

      • Neo4JNamespacePreprocessorMojo

        public Neo4JNamespacePreprocessorMojo()
    • Method Detail

      • execute

        public void execute()
      • listf

        public void listf​(String delimiter,
                          String directoryName,
                          Map<String,​File> files)
        Helper function loading all classes into a file map
        Parameters:
        delimiter - what the root folder is
        directoryName - folder to load
        files - map to load files into