org.eclipse.actf.validation.core
Class EventExecutionPointTarget
java.lang.Object
org.eclipse.actf.validation.core.ExecutionPointTarget
org.eclipse.actf.validation.core.EventExecutionPointTarget
public class EventExecutionPointTarget
- extends ExecutionPointTarget
The concrete class for the description of a single event execution point target at which validations
are to be triggered. This specialized class defines the event listener class and method name to be used
when the method execution point class is generated.
- Author:
- John Buslawski
- See Also:
#EventExecutionPointTarget(String, boolean, int)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listenerName
protected String listenerName
methodName
protected String methodName
EventExecutionPointTarget
public EventExecutionPointTarget(String targetClassName,
String listenerName,
String methodName,
boolean polymorphic)
- Create event-based execution point target. The target class name is the name of the class
that will trigger the generation of the containing execution point and start the validation.
Execution point targets can be polymorphic and apply to other classes in the target class
hierarchy or just to that specific target class.
Event-based execution points define the name of the listener class and the method on that
listener on which the containing execution point will be generated.
- Parameters:
targetClassName
- - name of class whose instances are to be capturedlistenerName
- - name of the listenermethodName
- - listener method at which an execution point is formedpolymorphic
- - determines if this execution point target applies to other
classes in the target's hierarchy
getMethodName
public String getMethodName()
- Returns:
- name of method whose invocation triggers a validation
setMethodName
public void setMethodName(String methodName)
- Parameters:
methodName
- - name of method whose invocation triggers a validation
getListenerName
public String getListenerName()
- Returns:
- names of types for a method whose invocation triggers a validation
setListenerName
public void setListenerName(String listenerName)
printTarget
public void printTarget(int indent)