com.atlassian.confluence.velocity
Class Deprecated

java.lang.Object
  extended by 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.


Constructor Summary
Deprecated()
          Deprecated.  
 
Method Summary
 String since(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 String since(String version)
Deprecated. 


Copyright © 2003-2012 Atlassian. All Rights Reserved.