|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Module
The module interface represents a type in Java that has been annotated with
Module, Connector or ExpressionLanguage.
| Method Summary | |
|---|---|
String |
getAnnotatedSchemaLocation()
|
String |
getConfigElementName()
Retrieve the name of the config element |
List<Field> |
getConfigurableFields()
Retrieve a list of fields that have been annotated with Configurable
This method will recursively go thru all superclasses as well. |
String |
getCurrentSchemaLocation()
|
String |
getDescription()
Get the description of this module |
List<FilterMethod> |
getFilterMethods()
Get a list of all methods annotated with @Filter This method will recursively go thru all superclasses as well. |
String |
getFriendlyName()
|
List<Field> |
getInjectFields()
Retrieve a list of fields that have been annotated with javax.inject.Inject
This method will recursively go thru all superclasses as well. |
ModuleKind |
getKind()
|
Method |
getLifecycleMethod(String phaseName)
Retrieve the method that needs to be called during a particular lifecycle phase. |
Method |
getMetaDataKeyRetrieverMethod()
Retrieve the method annotated with MetaDataKeyRetriever |
Method |
getMetaDataRetrieverMethod()
Retrieve the method annotated with MetaDataRetriever |
org.mule.common.MuleVersion |
getMinMuleVersion()
Get the minimum Mule version supported by this module |
String |
getModuleName()
|
String |
getModuleSchemaVersion()
|
List<ProcessorMethod> |
getProcessorMethods()
Get a list of all methods annotated with @Processor This method will recursively go thru all superclasses as well. |
Method |
getQueryTranslatorMethod()
|
List<RestCall> |
getRestCalls()
Retrieve a list of all the methods inside the module that are annotated with RestCall |
Field |
getRestHttpClientField()
Retrieve the field annotated with RestHttpClient |
List<SourceMethod> |
getSourceMethods()
Get a list of all methods annotated with @Source This method will recursively go thru all superclasses as well. |
List<TransformerMethod> |
getTransformerMethods()
Retrieve a list of all the methods inside the module that are annotated with Transformer |
List<TransformerResolverMethod> |
getTransformerResolverMethods()
Retrieve a list of all the methods inside the module that are annotated with TransformerResolver |
String |
getVersionedSchemaLocation()
|
String |
getXmlNamespace()
|
boolean |
hasConfigurableWithType(Class<?> parameterType)
|
boolean |
hasDynamicMetadata()
|
boolean |
hasFilters()
True if the module has at least one method annotated with Filter |
boolean |
hasMethodWithName(String methodName)
|
boolean |
hasProcessorMethodWithParameter(Class<?> parameterType)
|
boolean |
hasProcessors()
True if the module has at least one method annotated with Processor |
boolean |
hasQueryTranslator()
|
boolean |
hasRestCalls()
True if the module has at least one method annotated with RestCall |
boolean |
hasSources()
True if the module has at least one method annotated with Source |
boolean |
hasTransformerResolver()
True if the module has at least one method annotated with TransformerResolver |
boolean |
hasTransformers()
True if the module has at least one method annotated with Transformer |
boolean |
isConnector()
Check if the module is annotated with Connector |
boolean |
isModule()
Check if the module is annotated with Module |
boolean |
needsConfig()
Return true if this module requires a config element or false if it can work without one. |
Module |
parentModule()
|
boolean |
usesPooling()
|
| Methods inherited from interface org.mule.devkit.model.Type |
|---|
getClassName, getFields, getInheritedFields, getMethods, getMethodsAnnotatedWith, getPackage, getPackageName, getPathToSourceFile, getQualifiedName, getSuperClass, hasFieldAnnotatedWith, hasNoArgConstructor, hasSuperClass, inheritsFrom, inheritsFrom, isDsqlQueryObject, isInterface, isParametrized, isPrimitive |
| Methods inherited from interface org.mule.devkit.model.Identifiable |
|---|
accept, asType, asTypeMirror, getName, isReservedIdentifier, unwrap |
| Methods inherited from interface org.mule.devkit.model.Annotable |
|---|
getAnnotation, getAnnotationMirrors |
| Methods inherited from interface org.mule.devkit.model.Documentable |
|---|
getJavaDocParameterSummary, getJavaDocSummary, getJavaDocTagContent, getThrowsComment, hasJavaDocTag |
| Methods inherited from interface org.mule.devkit.model.Accessible |
|---|
isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic |
| Methods inherited from interface org.mule.devkit.model.Generifiable |
|---|
getTypeArguments, getXmlDeclaredChilds, hasTypeArguments |
| Methods inherited from interface org.mule.devkit.model.Typeable |
|---|
isArrayOrList, isBigDecimal, isBigInteger, isBoolean, isCalendar, isChar, isCollection, isComplexType, isComplexTypeWithGetterAndSetter, isDate, isDouble, isEnum, isFloat, isHttpCallback, isInteger, isLong, isMap, isNestedProcessor, isSet, isString, isURL, isXmlType |
| Method Detail |
|---|
boolean hasProcessorMethodWithParameter(Class<?> parameterType)
boolean hasConfigurableWithType(Class<?> parameterType)
List<SourceMethod> getSourceMethods()
SourceMethod}List<ProcessorMethod> getProcessorMethods()
ProcessorMethod}List<FilterMethod> getFilterMethods()
FilterMethod}List<Field> getConfigurableFields()
Configurable
This method will recursively go thru all superclasses as well.
ConfigurableList<Field> getInjectFields()
javax.inject.Inject
This method will recursively go thru all superclasses as well.
javax.inject.Injectboolean hasSources()
Source
Sourceboolean hasProcessors()
Processor
Processorboolean hasFilters()
Filter
Filterboolean hasTransformers()
Transformer
TransformerList<TransformerMethod> getTransformerMethods()
Transformer
List<TransformerResolverMethod> getTransformerResolverMethods()
TransformerResolver
boolean usesPooling()
org.mule.common.MuleVersion getMinMuleVersion()
String getXmlNamespace()
String getModuleName()
String getAnnotatedSchemaLocation()
String getVersionedSchemaLocation()
String getCurrentSchemaLocation()
String getModuleSchemaVersion()
String getFriendlyName()
String getDescription()
boolean needsConfig()
ModuleKind getKind()
String getConfigElementName()
Method getLifecycleMethod(String phaseName)
phaseName - The name of the phase. Supported phases are:
org.mule.api.lifecycle.Startable.PHASE_NAME,
org.mule.api.lifecycle.Stoppable.PHASE_NAME,
org.mule.api.lifecycle.Initialisable.PHASE_NAME,
org.mule.api.lifecycle.Disposable.PHASE_NAME
Field getRestHttpClientField()
RestHttpClient
boolean hasRestCalls()
RestCall
RestCallboolean hasTransformerResolver()
TransformerResolver
TransformerResolverList<RestCall> getRestCalls()
RestCall
Method getMetaDataKeyRetrieverMethod()
MetaDataKeyRetriever
Method getMetaDataRetrieverMethod()
MetaDataRetriever
boolean isConnector()
Connector
boolean isModule()
Module
boolean hasDynamicMetadata()
Module parentModule()
boolean hasMethodWithName(String methodName)
boolean hasQueryTranslator()
Method getQueryTranslatorMethod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||