Class LocalNodeStarter

java.lang.Object
i5.las2peer.tools.LocalNodeStarter

public class LocalNodeStarter extends Object
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 Details

    • LocalNodeStarter

      public LocalNodeStarter()
  • Method Details

    • configureNode

      public static void configureNode(LocalNode node, String artifactDirectory)
      start a local node and load all artifact files of the given directory into the node
      Parameters:
      node -
      artifactDirectory -
    • invokeStatic

      public static void invokeStatic(String method, LocalNode node)
      invoke a static method which has the local node as possible parameter
      Parameters:
      method -
      node -
    • main

      public static void main(String[] argv) throws InterruptedException, NodeException
      start a LocalNode and set up stored artifacts
      Parameters:
      argv -
      Throws:
      InterruptedException
      NodeException