Class NextGenInvocation

java.lang.Object
de.spraener.nxtgen.invocation.NextGenInvocation
All Implemented Interfaces:
ModelLoader, Runnable

public class NextGenInvocation extends Object implements Runnable, ModelLoader
  • Method Details

    • builder

      public static NextGenInvocation.Builder builder()
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • canHandle

      public boolean canHandle(String modelURI)
      Description copied from interface: ModelLoader
      Is this instance of ModelLoader able to handle the requested model?
      Specified by:
      canHandle in interface ModelLoader
      Parameters:
      modelURI - and URI to the model. It could be a file, a URL ore any other URI
      Returns:
      true if the ModelLoader can handle the model.
    • loadModel

      public Model loadModel(String modelURI)
      Description copied from interface: ModelLoader
      Load the Data from the given URI and return a fresh new instance of Model.
      Specified by:
      loadModel in interface ModelLoader
      Returns:
      Model
      See Also: