Class UberspectDebugDecorator
- java.lang.Object
-
- com.atlassian.confluence.util.velocity.debug.UberspectDebugDecorator
-
- All Implemented Interfaces:
org.apache.velocity.util.introspection.Uberspect
,org.apache.velocity.util.introspection.UberspectLoggable
,org.apache.velocity.util.RuntimeServicesAware
public class UberspectDebugDecorator extends Object implements org.apache.velocity.util.introspection.Uberspect, org.apache.velocity.util.introspection.UberspectLoggable, org.apache.velocity.util.RuntimeServicesAware
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.log4j.Logger
VELOCITY_LOG
Deprecated.since 5.10.
-
Constructor Summary
Constructors Constructor Description UberspectDebugDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator
getIterator(Object obj, org.apache.velocity.util.introspection.Info info)
org.apache.velocity.util.introspection.VelMethod
getMethod(Object obj, String method, Object[] args, org.apache.velocity.util.introspection.Info info)
org.apache.velocity.util.introspection.VelPropertyGet
getPropertyGet(Object obj, String identifier, org.apache.velocity.util.introspection.Info info)
org.apache.velocity.util.introspection.VelPropertySet
getPropertySet(Object obj, String identifier, Object arg, org.apache.velocity.util.introspection.Info info)
void
init()
void
setLog(org.apache.velocity.runtime.log.Log log)
void
setRuntimeLogger(org.apache.velocity.runtime.RuntimeLogger logger)
void
setRuntimeServices(org.apache.velocity.runtime.RuntimeServices runtimeServices)
-
-
-
Field Detail
-
VELOCITY_LOG
@Deprecated public static final org.apache.log4j.Logger VELOCITY_LOG
Deprecated.since 5.10. Use a private slfj Logger instead.
-
-
Method Detail
-
init
public void init() throws Exception
- Specified by:
init
in interfaceorg.apache.velocity.util.introspection.Uberspect
- Throws:
Exception
-
getIterator
public Iterator getIterator(Object obj, org.apache.velocity.util.introspection.Info info) throws Exception
- Specified by:
getIterator
in interfaceorg.apache.velocity.util.introspection.Uberspect
- Throws:
Exception
-
getMethod
public org.apache.velocity.util.introspection.VelMethod getMethod(Object obj, String method, Object[] args, org.apache.velocity.util.introspection.Info info) throws Exception
- Specified by:
getMethod
in interfaceorg.apache.velocity.util.introspection.Uberspect
- Throws:
Exception
-
getPropertyGet
public org.apache.velocity.util.introspection.VelPropertyGet getPropertyGet(Object obj, String identifier, org.apache.velocity.util.introspection.Info info) throws Exception
- Specified by:
getPropertyGet
in interfaceorg.apache.velocity.util.introspection.Uberspect
- Throws:
Exception
-
getPropertySet
public org.apache.velocity.util.introspection.VelPropertySet getPropertySet(Object obj, String identifier, Object arg, org.apache.velocity.util.introspection.Info info) throws Exception
- Specified by:
getPropertySet
in interfaceorg.apache.velocity.util.introspection.Uberspect
- Throws:
Exception
-
setLog
public void setLog(org.apache.velocity.runtime.log.Log log)
- Specified by:
setLog
in interfaceorg.apache.velocity.util.introspection.UberspectLoggable
-
setRuntimeLogger
public void setRuntimeLogger(org.apache.velocity.runtime.RuntimeLogger logger)
- Specified by:
setRuntimeLogger
in interfaceorg.apache.velocity.util.introspection.UberspectLoggable
-
setRuntimeServices
public void setRuntimeServices(org.apache.velocity.runtime.RuntimeServices runtimeServices)
- Specified by:
setRuntimeServices
in interfaceorg.apache.velocity.util.RuntimeServicesAware
-
-