@Test public void nonParseableMuleControllerTimeoutPropertyTest() { System.setProperty(MULE_PROCESS_CONTROLLER_TIMEOUT_PROPERTY, "abc"); MuleProcessController controller = new MuleProcessController(StringUtils.EMPTY); assertThat("Timeout property is not the expected", controller.getControllerTimeout(), equalTo(DEFAULT_TIMEOUT)); System.clearProperty(MULE_PROCESS_CONTROLLER_TIMEOUT_PROPERTY); }
protected int getControllerTimeout() { return controllerTimeout; }
MuleProcessController { protected int getControllerTimeout() { return controllerTimeout; } }
MuleProcessController { protected int getControllerTimeout() { return controllerTimeout; } MuleProcessController(String muleHome); }
MuleProcessController { protected int getControllerTimeout() { return controllerTimeout; } MuleProcessController(String muleHome); boolean isRunning(); void start(String... args); void stop(String... args); int status(String... args); int getProcessId(); void restart(String... args); void deploy(String path); boolean isDeployed(String appName); File getArtifactInternalRepository(String artifactName); File getRuntimeInternalRepository(); boolean isDomainDeployed(String domainName); void undeploy(String application); void undeployDomain(String domain); void undeployAll(); void installLicense(String path); void uninstallLicense(); void addLibrary(File jar); void deployDomain(String domain); File getLog(); File getLog(String appName); void addConfProperty(String value); }
MuleProcessController { protected int getControllerTimeout() { return controllerTimeout; } MuleProcessController(String muleHome); boolean isRunning(); void start(String... args); void stop(String... args); int status(String... args); int getProcessId(); void restart(String... args); void deploy(String path); boolean isDeployed(String appName); File getArtifactInternalRepository(String artifactName); File getRuntimeInternalRepository(); boolean isDomainDeployed(String domainName); void undeploy(String application); void undeployDomain(String domain); void undeployAll(); void installLicense(String path); void uninstallLicense(); void addLibrary(File jar); void deployDomain(String domain); File getLog(); File getLog(String appName); void addConfProperty(String value); static final String MULE_PROCESS_CONTROLLER_TIMEOUT_PROPERTY; static final int DEFAULT_TIMEOUT; }