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

aQute.bnd.build.ScriptAction Maven / Gradle / Ivy

package aQute.bnd.build;

import aQute.bnd.service.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);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy