Class AbstractPlugin

java.lang.Object
org.apache.sling.scripting.sightly.impl.plugin.AbstractPlugin
All Implemented Interfaces:
Comparable<Plugin>, Plugin
Direct Known Subclasses:
AbstractRepeatPlugin, AttributePlugin, CallPlugin, ElementPlugin, IncludePlugin, ResourcePlugin, SetPlugin, TemplatePlugin, TestPlugin, TextPlugin, UnwrapPlugin, UsePlugin

public abstract class AbstractPlugin extends Object implements Plugin
  • Field Details

    • priority

      protected int priority
    • name

      protected String name
  • Constructor Details

    • AbstractPlugin

      public AbstractPlugin()
  • Method Details

    • priority

      public int priority()
      Description copied from interface: Plugin
      The priority of the plugin
      Specified by:
      priority in interface Plugin
      Returns:
      a numeric value which controls when, relative to other plugins, should this plugin be applied
    • name

      public String name()
      Description copied from interface: Plugin
      The name of the plugin
      Specified by:
      name in interface Plugin
      Returns:
      the plugin name
    • compareTo

      public int compareTo(Plugin o)
      Specified by:
      compareTo in interface Comparable<Plugin>
    • decodeVariableName

      public String decodeVariableName(PluginCallInfo pluginCallInfo)