@MetadataScope(outputResolver=PollingSourceMetadataResolver.class) @MediaType(value="text/plain") public class NumberPetAdoptionSource extends org.mule.runtime.extension.api.runtime.source.PollingSource<String,Void>
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
ALL_NUMBERS |
| Constructor and Description |
|---|
NumberPetAdoptionSource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
void |
onError() |
void |
onRejectedItem(org.mule.runtime.extension.api.runtime.operation.Result<String,Void> result,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext context) |
void |
onSuccess() |
void |
onTerminate() |
void |
poll(org.mule.runtime.extension.api.runtime.source.PollContext<String,Void> pollContext) |
protected void doStart()
throws org.mule.runtime.api.exception.MuleException
protected void doStop()
@OnSuccess public void onSuccess()
@OnError public void onError()
@OnTerminate public void onTerminate()
public void poll(org.mule.runtime.extension.api.runtime.source.PollContext<String,Void> pollContext)
Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.