org.sitoolkit.wt.gui.app.script.ScriptService Maven / Gradle / Ivy
package org.sitoolkit.wt.gui.app.script;
import org.sitoolkit.wt.gui.domain.script.ScriptProcessClient;
import org.sitoolkit.wt.gui.infra.process.ConversationProcess;
import org.sitoolkit.wt.gui.infra.process.ProcessExitCallback;
import org.sitoolkit.wt.gui.infra.process.ProcessParams;
public class ScriptService {
ScriptProcessClient client = new ScriptProcessClient();
public ConversationProcess page2script(String driverType, String baseUrl,
ProcessExitCallback callback) {
ProcessParams params = new ProcessParams();
params.getExitClallbacks().add(callback);
return client.page2script(driverType, baseUrl, params);
}
public ConversationProcess ope2script(String url) {
return client.ope2script(url);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy