|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.velocity.Deprecated
@Deprecated public class 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 Summary | |
---|---|
Deprecated()
Deprecated. |
Method Summary | |
---|---|
java.lang.String |
since(java.lang.String version)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Deprecated()
Method Detail |
---|
public java.lang.String since(java.lang.String version)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |