Package i5.las2peer.tools
Class LocalNodeStarter
java.lang.Object
i5.las2peer.tools.LocalNodeStarter
Command line tool for starting a
LocalNode
and set up some artifacts from a directory
containing XML files.
After starting a given static method may be invoked (i.e. for testing purposes)-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
configureNode
(LocalNode node, String artifactDirectory) start a local node and load all artifact files of the given directory into the nodestatic void
invokeStatic
(String method, LocalNode node) invoke a static method which has the local node as possible parameterstatic void
start aLocalNode
and set up stored artifacts
-
Constructor Details
-
LocalNodeStarter
public LocalNodeStarter()
-
-
Method Details
-
configureNode
start a local node and load all artifact files of the given directory into the node- Parameters:
node
-artifactDirectory
-
-
invokeStatic
invoke a static method which has the local node as possible parameter- Parameters:
method
-node
-
-
main
start aLocalNode
and set up stored artifacts- Parameters:
argv
-- Throws:
InterruptedException
NodeException
-