Class MIServer
java.lang.Object
org.eclipse.lemminx.customservice.synapse.mediator.tryout.server.MIServer
-
Constructor Summary
ConstructorsConstructorDescriptionMIServer(Path serverPath, String projectUri, SynapseLanguageClientAPI languageClient) -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyDependencyCappToMI(String projectUri) voidvoiddeleteDeployedFiles(List<String> deployedFiles) voiddeployProject(String tempProjectUri, String projectUri) intbooleanbooleanbooleanvoidsetServerPath(Path serverPath) booleanshutDown()voidvoid
-
Constructor Details
-
MIServer
-
-
Method Details
-
startServer
public void startServer() -
shutDown
public boolean shutDown() -
deployProject
public void deployProject(String tempProjectUri, String projectUri) throws ArtifactDeploymentException - Throws:
ArtifactDeploymentException
-
copyDependencyCappToMI
- Throws:
ArtifactDeploymentException
-
deleteDeployedFiles
public void deleteDeployedFiles() -
deleteDeployedFiles
-
waitForServerStartup
public void waitForServerStartup() -
isServerRunning
public boolean isServerRunning() -
getServerPort
public int getServerPort() -
isStarted
public boolean isStarted() -
setServerPath
-
getServerPath
-
isStarting
public boolean isStarting()
-