new Tool() {
public void operate(PlanInputs in, List<Pipeline.Stage<Jobs>> out) {
out.add(new ResolveUriStage(in.htmlSchema));
PluginMeta meta = in.moduleManager.getPluginMeta();
out.add(new PrecajoleRewriteStage(
meta.getPrecajoleMap(), meta.getPrecajoleMinify()));
out.add(new RewriteHtmlStage(in.htmlSchema, in.cache));
out.add(new RewriteFlashStage());
}
}.given(HTML_XMLNS)