Package com.t4a.api
Class GenericJavaMethodAction
java.lang.Object
com.t4a.api.GenericJavaMethodAction
- All Implemented Interfaces:
AIAction,JavaMethodAction
-
Constructor Summary
ConstructorsConstructorDescriptionGenericJavaMethodAction(Class<?> clazz, String actionName) GenericJavaMethodAction(Class clazz, Method actionMethod) GenericJavaMethodAction(Object actionInstance) GenericJavaMethodAction(Object actionInstance, String actionName) -
Method Summary
Modifier and TypeMethodDescriptionBy default return low action risk so that it can pass without human verificationgetAnnotatedMethods(Class<?> clazz) Provide a detailed description of this action nameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.t4a.api.JavaMethodAction
getActionInstance, getActionType, getGroupDescription, getJsonRPC, isComplexMethod
-
Constructor Details
-
GenericJavaMethodAction
public GenericJavaMethodAction(Object actionInstance, String actionName) throws AIProcessingException - Throws:
AIProcessingException
-
GenericJavaMethodAction
- Throws:
AIProcessingException
-
GenericJavaMethodAction
- Throws:
AIProcessingException
-
GenericJavaMethodAction
- Throws:
AIProcessingException
-
-
Method Details
-
getActionParameters
- Specified by:
getActionParametersin interfaceAIAction
-
getAnnotatedMethods
-
getActionName
- Specified by:
getActionNamein interfaceAIAction- Specified by:
getActionNamein interfaceJavaMethodAction
-
getActionGroup
- Specified by:
getActionGroupin interfaceAIAction- Specified by:
getActionGroupin interfaceJavaMethodAction
-
getActionRisk
Description copied from interface:AIActionBy default return low action risk so that it can pass without human verification- Specified by:
getActionRiskin interfaceAIAction- Specified by:
getActionRiskin interfaceJavaMethodAction
-
getActionClassName
- Specified by:
getActionClassNamein interfaceJavaMethodAction
-
getActionClass
- Specified by:
getActionClassin interfaceJavaMethodAction
-
getDescription
Description copied from interface:AIActionProvide a detailed description of this action name- Specified by:
getDescriptionin interfaceAIAction- Specified by:
getDescriptionin interfaceJavaMethodAction
-