Class EmbeddedNeo4j
- java.lang.Object
-
- org.palladiosimulator.dependencytool.EmbeddedNeo4j
-
- All Implemented Interfaces:
AutoCloseable
public class EmbeddedNeo4j extends Object implements AutoCloseable
The Class EmbeddedNeo4j. An object that hold a Neo4j resource until it is closed.
-
-
Constructor Summary
Constructors Constructor Description EmbeddedNeo4j()
Instantiates a new embedded Neo4j database instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
commit(Set<RepositoryObject> repositories)
Commit the given repository object to the Neo4j database instance.
-
-
-
Method Detail
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
commit
public void commit(Set<RepositoryObject> repositories)
Commit the given repository object to the Neo4j database instance.- Parameters:
repositories
- the repositories to commit
-
-