public class OldToolInfo extends ToolInfo
Modifier and Type | Field and Description |
---|---|
static String |
INIT_METHOD_NAME |
CONFIGURE_METHOD_NAME
Constructor and Description |
---|
OldToolInfo(String key,
Class clazz)
Creates a new instance using the minimum required info
necessary for a tool.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configure(Object tool,
Map<String,Object> configuration)
Actually performs configuration of the newly instantiated tool
using the combined final set of configuration properties.
|
protected Method |
getInit() |
void |
setClass(Class clazz)
Tries to create an instance of the specified Class, then looks for a
configure(Map
|
addProperties, combine, create, getClassname, getConfigure, getKey, getProperties, getProps, getToolClass, hasConfigure, hasPermission, invoke, isSkipSetters, newInstance, putProperty, restrictTo, setKey, setProperty, setSkipSetters
public static final String INIT_METHOD_NAME
protected Method getInit()
public void setClass(Class clazz)
ToolInfo
protected void configure(Object tool, Map<String,Object> configuration)
ToolInfo
SkipSetters
annotation, then any
specific setters matching the configuration keys are called, then
the general configure(Map) method (if any) is called.Copyright © 2002–2021 Apache Software Foundation. All rights reserved.