Class Deprecated


  • @Deprecated
    public class Deprecated
    extends Object
    Deprecated.
    Helper class for deprecating Velocity macros. Put this in your Velocity context, then call $deprecated.since("4.0") as the first statement in a macro. The deprecation-detection code in the custom Uberspect will log a warning/throw an exception when the macro is called.
    • Constructor Detail

      • Deprecated

        public Deprecated()
        Deprecated.
    • Method Detail

      • since

        public String since​(String version)
        Deprecated.