Class PluginMethod
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic enumstatic classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Annotation[]protected Stringprotected Stringprotected PluginMethod.LogSettingsprotected Stringprotected List<PluginMethod.Parameter>protected Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Stringstatic final Stringprotected PluginMethod.MethodType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(PluginMethod.Parameter parameter) static StringbooleanValue(PluginMethod.Parameter parameter) boolean<T extends Annotation>
TgetAnnotation(Class<T> clazz) static PluginMethod.LogSettingsgetKey()getLabel()getLog()getNamedParameterValue(String parameterName) getNthParameterValue(int index) getParameterByName(String parameterName) getType()inthashCode()booleanhasSameMethodName(PluginMethod other) booleanbooleanbooleanhasSameSignature(PluginMethod other) static StringintegerValue(PluginMethod.Parameter parameter) static booleanisTag(PluginMethod.Parameter parameter) Determines, whether a given parameters defaultValue matches the pattern "^<[a-zA-Z0-9_.]+>$"static booleanDetermines, whether a given value matches the pattern "^<[a-zA-Z0-9_.]+>$"static booleanmatchesTagNamingConvention(String value) static PluginMethod.ParamTypeparamType(PluginMethod.Parameter parameter) static PluginMethod.ParamTypestatic StringparamValue(PluginMethod.Parameter parameter) static Stringquote(PluginMethod.Parameter parameter) static Stringstatic StringrealValue(PluginMethod.Parameter parameter) voidsetAnnotations(Annotation[] annotations) voidsetComment(String comment) voidsetDescription(String description) voidsetFirstParameterValue(Object value) voidvoidsetLastParameterValue(Object value) voidvoidsetMethodName(String methodName) voidsetNamedParameterValue(Object value, String parameterName) voidsetNthParameterValue(Object value, int index) voidsetParameters(List<PluginMethod.Parameter> parameters) voidsetPluginMappedName(String pluginMappedName) voidsetReturnType(String returnType) voidsetReturnTypeArguments(List<String> returnTypeArguments) voidvoidshow()toString()
-
Field Details
-
pluginMappedName
-
methodName
-
label
-
returnType
-
returnTypeArguments
-
description
-
type
-
parameters
-
log
-
annotations
-
PLUGINMETHOD_CALL_LOGLEVEL_SYSPROPERTY
- See Also:
-
PLUGINMETHOD_PARAMETERS_LOGLEVEL_SYSPROPERTY
- See Also:
-
PLUGINMETHOD_CONSTANTS_LOGLEVEL_SYSPROPERTY
- See Also:
-
PLUGINMETHOD_RESULT_LOGLEVEL_SYSPROPERTY
- See Also:
-
PLUGINMETHOD_EXCEPTIONS_LOGLEVEL_SYSPROPERTY
- See Also:
-
SHORT_UC_STR
- See Also:
-
-
Constructor Details
-
PluginMethod
public PluginMethod()
-
-
Method Details
-
getPluginMappedName
-
setPluginMappedName
-
getMethodName
-
setMethodName
-
getReturnType
-
setReturnType
-
getReturnTypeArguments
-
setReturnTypeArguments
-
getDescription
-
setDescription
-
getType
-
setType
-
getKey
-
getSignature
-
getParameters
-
setParameters
-
addParameter
-
createCopy
-
threadSafeCopy
-
hasSameSignature
-
hasSameMethodName
-
hasSameParametersSize
-
hasSameParametersTypes
-
getLog
-
setLog
-
getLabel
-
setLabel
-
getAnnotations
-
setAnnotations
-
getAnnotation
-
getDefaultLogSettings
-
setNthParameterValue
-
setFirstParameterValue
-
setLastParameterValue
-
setNamedParameterValue
-
getNthParameterValue
-
getFirstParameterValue
-
getLastParameterValue
-
getNamedParameterValue
-
getParameterByName
-
getCallString
-
show
public void show() -
toString
-
quote
-
quote
-
paramType
-
paramType
-
isTag
Determines, whether a given parameters defaultValue matches the pattern "^<[a-zA-Z0-9_.]+>$"
Use this method to check, whether a value should be considered as Tag.
Tag values are expected to be set either in the Constant Map provided to the ParameterInterpreter or in the dynamic parameter map passed to DataProviderManager calls.
This method accepts a wide range of values as tags (e.g. <1>, <a.b.c> ...), though the naming recommendation for tags is^<[A-Z]+[a-zA-Z0-9]*(\.?[A-Z]+[a-zA-Z0-9]*>|>)$- Parameters:
parameter- parameter to check- Returns:
- true, if the parameter default value is a tag, false otherwise or if parameter is null
-
isTag
Determines, whether a given value matches the pattern "^<[a-zA-Z0-9_.]+>$"
Use this method to check, whether a value should be considered as Tag.
Tag values are expected to be set either in the Constant Map provided to the ParameterInterpreter or in the dynamic parameter map passed to DataProviderManager calls.
This method accepts a wide range of values as tags (e.g. <1>, <a.b.c> ...), though the naming recommendation for tags is
^<[A-Z]+[a-zA-Z0-9]*(\.?[A-Z]+[a-zA-Z0-9]*>|>)$- Parameters:
value- value to check- Returns:
- true, if value is a tag, false otherwise
-
matchesTagNamingConvention
-
booleanValue
-
integerValue
-
realValue
-
paramValue
-
getComment
-
setComment
-
hashCode
public int hashCode() -
equals
-