
org.mule.test.infrastructure.process.UnixController Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mule-tests-infrastructure Show documentation
Show all versions of mule-tests-infrastructure Show documentation
Tests infrastructure library for creating mule automated test cases.
/*
* Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package org.mule.test.infrastructure.process;
import java.io.ByteArrayOutputStream;
import java.util.Map;
import java.util.regex.Matcher;
import org.apache.commons.exec.CommandLine;
import org.apache.commons.exec.DefaultExecutor;
import org.apache.commons.exec.ExecuteWatchdog;
import org.apache.commons.exec.PumpStreamHandler;
/**
*
*/
public class UnixController extends Controller
{
public UnixController(String muleHome, int timeout)
{
super(muleHome, timeout);
}
@Override
public String getMuleBin()
{
return muleHome + "/bin/mule";
}
@Override
public int getProcessId()
{
Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy