public abstract class PropertyCall extends Call
TAG_ACTION, TAG_APPLETVIEWER, TAG_ARCHIVE, TAG_ARGS, TAG_ASSERT, TAG_AWT, TAG_AWTTESTSCRIPT, TAG_BORDER_TITLE, TAG_CALL, TAG_CLASS, TAG_CLASSPATH, TAG_CODE, TAG_CODEBASE, TAG_COMMENT, TAG_COMPONENT, TAG_COUNT, TAG_DELEGATE, TAG_DESC, TAG_DOCBASE, TAG_EVENT, TAG_EXPR, TAG_FILENAME, TAG_FIXTURE, TAG_FORKED, TAG_HEIGHT, TAG_HORDER, TAG_ICON, TAG_ID, TAG_INDEX, TAG_INVERT, TAG_INVOKER, TAG_KEYCHAR, TAG_KEYCODE, TAG_KIND, TAG_LABEL, TAG_LAUNCH, TAG_METHOD, TAG_MODIFIERS, TAG_NAME, TAG_PARAMS, TAG_PARENT, TAG_POLL_INTERVAL, TAG_PROPERTY, TAG_ROOT, TAG_SAMPLE, TAG_SCRIPT, TAG_SEQUENCE, TAG_SLOW, TAG_STOP_ON_ERROR, TAG_STOP_ON_FAILURE, TAG_TAG, TAG_TERMINATE, TAG_TEXT, TAG_THREADED, TAG_TIMEOUT, TAG_TITLE, TAG_TRIGGER, TAG_TYPE, TAG_VALUE, TAG_VMARGS, TAG_VORDER, TAG_WAIT, TAG_WEIGHTED, TAG_WIDTH, TAG_WINDOW, TAG_X, TAG_Y
Constructor and Description |
---|
PropertyCall(Resolver resolver,
Map attributes)
Create a PropertyCall based on loaded XML attributes.
|
PropertyCall(Resolver resolver,
String description,
String methodName,
String id)
Create a PropertyCall with a Component target.
|
PropertyCall(Resolver resolver,
String description,
String className,
String methodName,
String[] args)
Create a PropertyCall based on a static invocation on an
arbitrary class.
|
Modifier and Type | Method and Description |
---|---|
Map |
getAttributes()
Save attributes specific to this Step class.
|
String |
getComponentID()
Return the component reference ID used by this method invocation.
|
String |
getDefaultDescription()
Return a reasonable default description for this script step.
|
protected Object |
getTarget(Method m)
Return the target of the method invocation.
|
static boolean |
isPropertyMethod(Method m)
Returns whether the given method is a property accessor.
|
void |
setComponentID(String id)
Set the component reference ID used by method invocation.
|
disambiguateMethod, evaluateParameter, evaluateParameters, getArgs, getArguments, getArgumentsDescription, getEncodedArguments, getMethod, getMethodName, getMethods, getTargetClass, getTargetClassName, getUsage, getXMLTag, invoke, resolveMethod, resolveMethods, runStep, setArguments, setArguments, setMethodName, setTargetClassName
addAttributes, addContent, createAttributeMap, createStep, createStep, getDescription, getResolver, parseAttributes, resolveClass, resolveTester, run, setDescription, setScriptError, simpleClassName, toEditableString, toString, toXML, toXMLString, usage, usage
public PropertyCall(Resolver resolver, Map attributes)
public PropertyCall(Resolver resolver, String description, String className, String methodName, String[] args)
public String getComponentID()
public void setComponentID(String id)
public Map getAttributes()
getAttributes
in class Call
protected Object getTarget(Method m) throws Throwable
public static boolean isPropertyMethod(Method m)
public String getDefaultDescription()
Step
getDefaultDescription
in class Call
Abbot is hosted on