Class Stop

  • All Implemented Interfaces:
    Cloneable

    @Deprecated
    public class Stop
    extends Directive
    Deprecated.
    for removal in PMD 7.0.0
    This class implements the #stop directive which allows a user to stop the merging and rendering process. The #stop directive will accept a single message argument with info about the reason for stopping.
    • Constructor Detail

      • Stop

        public Stop()
        Deprecated.
    • Method Detail

      • getName

        public String getName()
        Deprecated.
        Return name of this directive.
        Specified by:
        getName in class Directive
        Returns:
        The name of this directive.
      • getType

        public int getType()
        Deprecated.
        Return type of this directive.
        Specified by:
        getType in class Directive
        Returns:
        The type of this directive.
      • isScopeProvided

        public boolean isScopeProvided()
        Deprecated.
        Since there is no processing of content, there is never a need for an internal scope.
        Overrides:
        isScopeProvided in class Directive
        Returns:
        true if there will be a scope control injected into the context when rendering this directive.