Class Deprecated

java.lang.Object
com.atlassian.confluence.velocity.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 Details

    • Deprecated

      public Deprecated()
      Deprecated.
  • Method Details