com.axway.ats.expectj.Executor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ats-expectj Show documentation
Show all versions of ats-expectj Show documentation
ExpectJ patched by AXWAY ATS Team
The newest version!
package com.axway.ats.expectj;
import java.io.IOException;
/**
* This interface exists for people who want control over how processes are
* launched.
*
* Implementors are encouraged to implement {@link #toString()} for logging purposes.
*
* @see ExpectJ#spawn(String)
* @author Johan Walles, [email protected]
*/
public interface Executor {
/**
* Creates a new process. This will only be called once.
* @return The new process.
* @throws IOException if there's a problem starting the new process.
* @see #toString()
*/
Process execute() throws IOException;
/**
* Describes what {@link #execute()} created.
* @return A short description of what {@link #execute()} returns.
*/
public String toString();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy