@Alias(value="simple") @MediaType(value="text/plain") @MetadataScope(keysResolver=MultiLevelPartialTypeKeysOutputTypeResolver.class, outputResolver=MultiLevelPartialTypeKeysOutputTypeResolver.class, attributesResolver=MultiLevelPartialTypeKeysOutputTypeResolver.class) @SampleData(value=SourceSampleDataProvider.class) public class SimpleSource extends org.mule.runtime.extension.api.runtime.source.Source<String,StringAttributes>
| Modifier and Type | Field and Description |
|---|---|
String |
actingParameter |
String |
actingParameterDependantParam |
String |
configDependantParam |
String |
connectionDependantParam |
String |
independentParam |
LocationKey |
locationKey |
| Constructor and Description |
|---|
SimpleSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<String,StringAttributes> sourceCallback) |
void |
onStop() |
void |
onSuccess(String onSuccessParameter,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext) |
void |
onTerminate() |
@Parameter public String actingParameter
@Parameter @OfValues(value=ConfigLessConnectionLessNoActingParamVP.class) public String independentParam
@Parameter @OfValues(value=ConnectionLessNoActingParamVP.class) public String configDependantParam
@Parameter @OfValues(value=ConfigLessNoActingParamVP.class) public String connectionDependantParam
@Parameter @OfValues(value=ActingParameterVP.class) public String actingParameterDependantParam
@ParameterGroup(name="LocationKey") @MetadataKeyId public LocationKey locationKey
public void onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<String,StringAttributes> sourceCallback) throws org.mule.runtime.api.exception.MuleException
onStart in class org.mule.runtime.extension.api.runtime.source.Source<String,StringAttributes>org.mule.runtime.api.exception.MuleException@OnSuccess public void onSuccess(@TypeResolver(value=MultiLevelPartialTypeKeysOutputTypeResolver.class) String onSuccessParameter, org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext) throws Exception
Exception@OnTerminate public void onTerminate()
public void onStop()
onStop in class org.mule.runtime.extension.api.runtime.source.Source<String,StringAttributes>Copyright © 2022 MuleSoft, Inc.. All rights reserved.