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

org.kohsuke.stapler.jelly.jruby.RubyTemplateLanguage Maven / Gradle / Ivy

There is a newer version: 1.263
Show newest version
package org.kohsuke.stapler.jelly.jruby;

import org.jruby.embed.ScriptingContainer;

/**
 * Ruby template language binding.
 *
 * 

* Implementations of this is discovered via service-loader mechanism. * * @author Kohsuke Kawaguchi */ public abstract class RubyTemplateLanguage { /** * Defines the file extension, like ".erb", that designates this kind of view type. */ protected abstract String getScriptExtension(); protected abstract Class getTearOffClass(); /** * Called to set up this template language binding on the specified scripting container. */ protected abstract RubyTemplateContainer createContainer(ScriptingContainer container); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy