Package com.jk.core.reflection.common
Class MethodCallInfo
java.lang.Object
com.jk.core.reflection.common.MethodCallInfo
- All Implemented Interfaces:
Serializable
The Class MethodCallInfo.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new method call info.MethodCallInfo
(String className, String methodName, Object... paramters) Instantiates a new method call info. -
Method Summary
Modifier and TypeMethodDescriptionGets the class name.Gets the exception.Gets the method name.Object[]
Gets the paramters.Class[]
Gets the paramters types.Gets the result.boolean
isFailed()
Checks if is failed.void
set
(MethodCallInfo another) Sets the.void
setClassName
(String className) Sets the class name.void
Sets the exception.void
setFailed
(boolean failed) Sets the failed.void
setMethodName
(String methodName) Sets the method name.void
setParamters
(Object... param) Sets the paramters.void
Sets the result.toString()
To string.
-
Constructor Details
-
MethodCallInfo
public MethodCallInfo()Instantiates a new method call info. -
MethodCallInfo
Instantiates a new method call info.- Parameters:
className
- the class namemethodName
- the method nameparamters
- the paramters
-
-
Method Details
-
getClassName
Gets the class name.- Returns:
- the class name
-
getException
Gets the exception.- Returns:
- the exception
-
getMethodName
Gets the method name.- Returns:
- the method name
-
getParamters
Gets the paramters.- Returns:
- the paramters
-
getParamtersTypes
Gets the paramters types.- Returns:
- the paramters types
-
getResult
Gets the result.- Returns:
- the result
-
isFailed
public boolean isFailed()Checks if is failed.- Returns:
- true, if is failed
-
set
Sets the.- Parameters:
another
- the another
-
setClassName
Sets the class name.- Parameters:
className
- the new class name
-
setException
Sets the exception.- Parameters:
e
- the new exception
-
setFailed
public void setFailed(boolean failed) Sets the failed.- Parameters:
failed
- the new failed
-
setMethodName
Sets the method name.- Parameters:
methodName
- the new method name
-
setParamters
Sets the paramters.- Parameters:
param
- the new paramters
-
setResult
Sets the result.- Parameters:
result
- the new result
-
toString
To string.
-