@MetadataScope(outputResolver=PollingSourceMetadataResolver.class) @MediaType(value="text/plain") public class PetAdoptionSchedulerInParamSource extends org.mule.runtime.extension.api.runtime.source.Source<String,Void>
| Modifier and Type | Field and Description |
|---|---|
static int |
ADOPTED_PET_COUNT |
static List<String> |
ALL_PETS |
static int |
COMPLETED_POLLS |
static int |
FAILED_ADOPTION_COUNT |
protected List<String> |
pets |
static int |
REJECTED_ADOPTIONS |
static int |
STARTED_POLLS |
| Constructor and Description |
|---|
PetAdoptionSchedulerInParamSource() |
| Modifier and Type | Method and Description |
|---|---|
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 |
onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<String,Void> sourceCallback) |
void |
onStop() |
void |
onSuccess() |
void |
onTerminate() |
void |
poll(org.mule.runtime.extension.api.runtime.source.SourceCallback<String,Void> sourceCallback) |
public static int ADOPTED_PET_COUNT
public static int FAILED_ADOPTION_COUNT
public static int COMPLETED_POLLS
public static int REJECTED_ADOPTIONS
public static int STARTED_POLLS
public void onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<String,Void> sourceCallback) throws org.mule.runtime.api.exception.MuleException
public void onStop()
@OnSuccess public void onSuccess()
@OnError public void onError()
@OnTerminate public void onTerminate()
public void poll(org.mule.runtime.extension.api.runtime.source.SourceCallback<String,Void> sourceCallback)
Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.