com.atlassian.confluence.velocity
Class Deprecated

java.lang.Object
  extended by com.atlassian.confluence.velocity.Deprecated

Deprecated.

@Deprecated
public class Deprecated
extends java.lang.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.


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

Deprecated

public Deprecated()
Deprecated. 
Method Detail

since

public java.lang.String since(java.lang.String version)
Deprecated. 


Copyright © 2003-2014 Atlassian. All Rights Reserved.