Class SimpleRuntime

java.lang.Object
org.nuxeo.runtime.AbstractRuntimeService
org.nuxeo.runtime.util.SimpleRuntime
All Implemented Interfaces:
RuntimeService

public class SimpleRuntime extends AbstractRuntimeService
A runtime service used for JUnit tests.

The Test Runtime has only one virtual bundle.

Author:
Bogdan Stefanescu
  • Field Details

  • Constructor Details

    • SimpleRuntime

      public SimpleRuntime()
    • SimpleRuntime

      public SimpleRuntime(String home)
    • SimpleRuntime

      public SimpleRuntime(File workingDir)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: RuntimeService
      Gets the name of this runtime service.
      Returns:
      the runtime service name
    • getVersion

      public Version getVersion()
      Description copied from interface: RuntimeService
      Gets the version of this runtime service.
      Returns:
      the runtime service version
    • reloadProperties

      public void reloadProperties()
      Description copied from interface: RuntimeService
      Reread all property files loaded at startup.