public final class InterceptorsModelProperty extends Object implements org.mule.runtime.api.meta.model.ModelProperty
InterceptorFactory| Constructor and Description |
|---|
InterceptorsModelProperty(List<org.mule.runtime.extension.api.runtime.InterceptorFactory> interceptorFactories)
Creates a new instance which holds a copy of the given
interceptorFactories |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptorFactory(org.mule.runtime.extension.api.runtime.InterceptorFactory interceptorFactory)
Adds the given
interceptorFactory as the last interceptor in
the list |
void |
addInterceptorFactory(org.mule.runtime.extension.api.runtime.InterceptorFactory interceptorFactory,
int position)
/**
Adds the given
interceptorFactory to the list at the
given position |
List<org.mule.runtime.extension.api.runtime.InterceptorFactory> |
getInterceptorFactories()
Returns a
List which items are InterceptorFactory instances
that are to be used to provision the interceptors for the
configurations created from this model. |
String |
getName() |
boolean |
isPublic() |
public List<org.mule.runtime.extension.api.runtime.InterceptorFactory> getInterceptorFactories()
List which items are InterceptorFactory instances
that are to be used to provision the interceptors for the
configurations created from this model.
The order of the factories in the list will be the same as the order of the resulting
interceptors. However, just like it's explained in the
Interceptable interface, the order is not guaranteed to be respected although
it should be expressed anyway.
List. Can be empty but must never be nullpublic void addInterceptorFactory(org.mule.runtime.extension.api.runtime.InterceptorFactory interceptorFactory)
interceptorFactory as the last interceptor in
the listinterceptorFactory - a InterceptorFactorypublic void addInterceptorFactory(org.mule.runtime.extension.api.runtime.InterceptorFactory interceptorFactory,
int position)
interceptorFactory to the list at the
given positioninterceptorFactory - a InterceptorFactoryposition - a valid list indexpublic String getName()
getName in interface org.mule.runtime.api.meta.model.ModelPropertygetName in interface org.mule.runtime.api.meta.NamedObjectpublic boolean isPublic()
isPublic in interface org.mule.runtime.api.meta.model.ModelPropertyfalseCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.