Class MethodCallInfo

java.lang.Object
com.jk.core.reflection.common.MethodCallInfo
All Implemented Interfaces:
Serializable

public class MethodCallInfo extends Object implements Serializable
The Class MethodCallInfo.
See Also:
  • Constructor Details

    • MethodCallInfo

      public MethodCallInfo()
      Instantiates a new method call info.
    • MethodCallInfo

      public MethodCallInfo(String className, String methodName, Object... paramters)
      Instantiates a new method call info.
      Parameters:
      className - the class name
      methodName - the method name
      paramters - the paramters
  • Method Details

    • getClassName

      public String getClassName()
      Gets the class name.
      Returns:
      the class name
    • getException

      public Exception getException()
      Gets the exception.
      Returns:
      the exception
    • getMethodName

      public String getMethodName()
      Gets the method name.
      Returns:
      the method name
    • getParamters

      public Object[] getParamters()
      Gets the paramters.
      Returns:
      the paramters
    • getParamtersTypes

      public Class[] getParamtersTypes()
      Gets the paramters types.
      Returns:
      the paramters types
    • getResult

      public Object getResult()
      Gets the result.
      Returns:
      the result
    • isFailed

      public boolean isFailed()
      Checks if is failed.
      Returns:
      true, if is failed
    • set

      public void set(MethodCallInfo another)
      Sets the.
      Parameters:
      another - the another
    • setClassName

      public void setClassName(String className)
      Sets the class name.
      Parameters:
      className - the new class name
    • setException

      public void setException(Exception e)
      Sets the exception.
      Parameters:
      e - the new exception
    • setFailed

      public void setFailed(boolean failed)
      Sets the failed.
      Parameters:
      failed - the new failed
    • setMethodName

      public void setMethodName(String methodName)
      Sets the method name.
      Parameters:
      methodName - the new method name
    • setParamters

      public void setParamters(Object... param)
      Sets the paramters.
      Parameters:
      param - the new paramters
    • setResult

      public void setResult(Object result)
      Sets the result.
      Parameters:
      result - the new result
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object
      Returns:
      the string