Deployment (@NotNull DeploymentRuntime deploymentRuntime) { myLoggingHandler.printlnSystemMessage("'" + myDeploymentName + "' has been deployed successfully."); myDeployment.changeState(DeploymentStatus.DEPLOYING, DeploymentStatus.DEPLOYED, null, deploymentRuntime); myEventDispatcher.queueDeploymentsChanged(ServerConnectionImpl.this); DebugConnector<?, ?> debugConnector = myDeploymentTask.getDebugConnector(); if (debugConnector != null) { launchDebugger(debugConnector, deploymentRuntime); } return myDeployment; }