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, wait
Methods inherited from interface com.t4a.api.JavaMethodAction
getActionInstance, getActionType, getGroupDescription, 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
-
getAnnotatedMethods
-
getActionName
- Specified by:
getActionName
in interfaceAIAction
- Specified by:
getActionName
in interfaceJavaMethodAction
-
getActionGroup
- Specified by:
getActionGroup
in interfaceAIAction
- Specified by:
getActionGroup
in interfaceJavaMethodAction
-
getActionRisk
Description copied from interface:AIAction
By default return low action risk so that it can pass without human verification- Specified by:
getActionRisk
in interfaceAIAction
- Specified by:
getActionRisk
in interfaceJavaMethodAction
-
getActionClassName
- Specified by:
getActionClassName
in interfaceJavaMethodAction
-
getActionClass
- Specified by:
getActionClass
in interfaceJavaMethodAction
-
getDescription
Description copied from interface:AIAction
Provide a detailed description of this action name- Specified by:
getDescription
in interfaceAIAction
- Specified by:
getDescription
in interfaceJavaMethodAction
-