| java.lang.Object abbot.script.Step abbot.script.Call abbot.script.PropertyCall
All known Subclasses: abbot.script.Sample, abbot.script.Assert,
PropertyCall | abstract public class PropertyCall extends Call (Code) | | Provides support for using property-like methods, including select
non-static method access to Components. Specifically, allows specification
of a ComponentReference to be used as the method invocation target. If a
ComponentReference is given, then the class of the component reference is
used as the target class.
|
PropertyCall | public PropertyCall(Resolver resolver, Map attributes)(Code) | | Create a PropertyCall based on loaded XML attributes.
|
PropertyCall | public PropertyCall(Resolver resolver, String description, String className, String methodName, String[] args)(Code) | | Create a PropertyCall based on a static invocation on an
arbitrary class.
|
PropertyCall | public PropertyCall(Resolver resolver, String description, String methodName, String id)(Code) | | Create a PropertyCall with a Component target. The target
class name is derived from the given component reference ID.
|
getAttributes | public Map getAttributes()(Code) | | Save attributes specific to this Step class.
|
getComponentID | public String getComponentID()(Code) | | Return the component reference ID used by this method invocation.
|
getDefaultDescription | public String getDefaultDescription()(Code) | | |
isPropertyMethod | public static boolean isPropertyMethod(Method m)(Code) | | Returns whether the given method is a property accessor. In addition
to standard is/get/has property accessors, this includes
pseudo-property methods on ComponentTester objects.
|
setComponentID | public void setComponentID(String id)(Code) | | Set the component reference ID used by method invocation. The class
of the component referenced by the component reference will replace the
current target class.
|
|
|