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

dev.jbang.source.sources.JshSource Maven / Gradle / Ivy

The newest version!
package dev.jbang.source.sources;

import java.util.function.Function;

import dev.jbang.source.*;

public class JshSource extends JavaSource {
	public JshSource(ResourceRef script, Function replaceProperties) {
		super(script, replaceProperties);
	}

	protected JshSource(ResourceRef ref, String script, Function replaceProperties) {
		super(ref, script, replaceProperties);
	}

	@Override
	public Builder getBuilder(BuildContext ctx) {
		return () -> CmdGenerator.builder(ctx);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy