aQute.bnd.build.ScriptAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biz.aQute.bndlib Show documentation
Show all versions of biz.aQute.bndlib Show documentation
bndlib: A Swiss Army Knife for OSGi
package aQute.bnd.build;
import aQute.bnd.service.action.Action;
public class ScriptAction implements Action {
final String script;
final String type;
public ScriptAction(String type, String script) {
this.script = script;
this.type = type;
}
public void execute(Project project, String action) throws Exception {
project.script(type, script);
}
public void execute(Project project, Object... args) throws Exception {
project.script(type, script, args);
}
}