com.atlassian.confluence.velocity
Class Deprecated
java.lang.Object
com.atlassian.confluence.velocity.Deprecated
Deprecated.
@Deprecated
public class Deprecated
- extends Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Deprecated
public Deprecated()
- Deprecated.
since
public String since(String version)
- Deprecated.