org.eclipse.actf.validation.core
Class MethodExecutionPoint

java.lang.Object
  extended by org.eclipse.actf.validation.core.ExecutionPoint
      extended by org.eclipse.actf.validation.core.MethodExecutionPoint

public class MethodExecutionPoint
extends ExecutionPoint

an execution point that serves as a trigger for a validation from a method or constructor invocation.

Author:
Mike Squillace

Field Summary
protected  Object[] arguments
           
protected  Member member
           
 
Fields inherited from class org.eclipse.actf.validation.core.ExecutionPoint
name, target, validatorClassName
 
Constructor Summary
MethodExecutionPoint(String name, String validatorClassName, Object target, Object[] arguments, Member member)
           
 
Method Summary
 ExecutionPoint cloneExecutionPoint(String name, String validator, ExecutionPoint execPoint)
          return an ExecutionPoint of the same type but with a different name and validator class name.
 Object[] getArguments()
           
 Member getMember()
           
 
Methods inherited from class org.eclipse.actf.validation.core.ExecutionPoint
getName, getTarget, getValidatorClassName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

arguments

protected Object[] arguments

member

protected Member member
Constructor Detail

MethodExecutionPoint

public MethodExecutionPoint(String name,
                            String validatorClassName,
                            Object target,
                            Object[] arguments,
                            Member member)
Method Detail

getArguments

public Object[] getArguments()
Returns:
the arguments to the member

getMember

public Member getMember()
Returns:
the member (either constructor or method)

cloneExecutionPoint

public ExecutionPoint cloneExecutionPoint(String name,
                                          String validator,
                                          ExecutionPoint execPoint)
return an ExecutionPoint of the same type but with a different name and validator class name. This is typically used in the Validation loop where we have a child class of a compoment that has a different model than the parent.

Specified by:
cloneExecutionPoint in class ExecutionPoint
Parameters:
name -
validator -
execPoint -
Returns:
ExecutionPoint