cartago
Class ArtifactOpMethod

java.lang.Object
  extended by cartago.ArtifactOpMethod
All Implemented Interfaces:
IArtifactOp

public class ArtifactOpMethod
extends java.lang.Object
implements IArtifactOp

Default implementation of operations (based on artifact class methods)

Author:
aricci

Constructor Summary
ArtifactOpMethod(Artifact artifact, java.lang.reflect.Method method)
           
 
Method Summary
 void exec(java.lang.Object[] actualParams)
           
 java.lang.reflect.Method getMethod()
           
 java.lang.String getName()
           
 int getNumParameters()
           
 boolean isVarArgs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactOpMethod

public ArtifactOpMethod(Artifact artifact,
                        java.lang.reflect.Method method)
Method Detail

exec

public void exec(java.lang.Object[] actualParams)
          throws java.lang.Exception
Specified by:
exec in interface IArtifactOp
Throws:
java.lang.Exception

getNumParameters

public int getNumParameters()
Specified by:
getNumParameters in interface IArtifactOp

getName

public java.lang.String getName()
Specified by:
getName in interface IArtifactOp

isVarArgs

public boolean isVarArgs()
Specified by:
isVarArgs in interface IArtifactOp

getMethod

public java.lang.reflect.Method getMethod()


>DEIS - University of Bologna