All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.axway.ats.expectj.Executor Maven / Gradle / Ivy

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