public class DeprecationLogger extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ORG_GRADLE_DEPRECATION_TRACE_PROPERTY_NAME |
| Constructor and Description |
|---|
DeprecationLogger() |
| Modifier and Type | Method and Description |
|---|---|
static void |
nagUserAboutDynamicProperty(String propertyName,
Object target,
Object value) |
static void |
nagUserOfDiscontinuedMethod(String methodName) |
static void |
nagUserOfDiscontinuedProperty(String propertyName,
String advice) |
static void |
nagUserOfReplacedMethod(String methodName,
String replacement) |
static void |
nagUserOfReplacedNamedParameter(String parameterName,
String replacement) |
static void |
nagUserOfReplacedPlugin(String pluginName,
String replacement) |
static void |
nagUserOfReplacedProperty(String propertyName,
String replacement) |
static void |
nagUserOfReplacedTask(String taskName,
String replacement) |
static void |
nagUserWith(String message) |
static void |
reset() |
static void |
setLogTrace(boolean flag) |
static <T> T |
whileDisabled(Factory<T> factory) |
public static final String ORG_GRADLE_DEPRECATION_TRACE_PROPERTY_NAME
public static void reset()
public static void nagUserOfReplacedPlugin(String pluginName, String replacement)
public static void nagUserOfReplacedMethod(String methodName, String replacement)
public static void nagUserOfReplacedProperty(String propertyName, String replacement)
public static void nagUserOfDiscontinuedMethod(String methodName)
public static void nagUserOfDiscontinuedProperty(String propertyName, String advice)
public static void nagUserOfReplacedNamedParameter(String parameterName, String replacement)
public static void nagUserWith(String message)
public static <T> T whileDisabled(Factory<T> factory)
public static void setLogTrace(boolean flag)
Copyright © 2013. All rights reserved