Class SimulatorManagementService


  • public class SimulatorManagementService
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String create​(java.lang.String simulatorId)  
      boolean delete​(java.lang.String simulatorId)  
      java.lang.String getHostname()  
      java.io.File getSimulatorDirectory​(java.lang.String simulatorId)  
      org.apache.commons.lang3.tuple.Pair<java.lang.Integer,​java.lang.Process> launchNewClone​(java.io.File base)  
      void terminateApplication()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimulatorManagementService

        public SimulatorManagementService()
    • Method Detail

      • getHostname

        public java.lang.String getHostname()
                                     throws java.net.UnknownHostException
        Throws:
        java.net.UnknownHostException
      • launchNewClone

        public org.apache.commons.lang3.tuple.Pair<java.lang.Integer,​java.lang.Process> launchNewClone​(java.io.File base)
                                                                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getSimulatorDirectory

        public java.io.File getSimulatorDirectory​(java.lang.String simulatorId)
      • delete

        public boolean delete​(java.lang.String simulatorId)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • create

        public java.lang.String create​(java.lang.String simulatorId)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • terminateApplication

        public void terminateApplication()