@NoInstantiate public final class SampleDataProviderModel extends Object
HasOutputModel to communicate if it supports fetching sample data and what it requires.
The provider has the concept of a getProviderId(), which unequivocally identifies each resolver within the module.
When the same provider implementation is used in several components, those components will all reference the same provider id.
| Constructor and Description |
|---|
SampleDataProviderModel(List<ActingParameterModel> parameters,
String providerId,
boolean requiresConfiguration,
boolean requiresConnection)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<ActingParameterModel> |
getParameters() |
String |
getProviderId() |
int |
hashCode() |
boolean |
requiresConfiguration() |
boolean |
requiresConnection() |
public SampleDataProviderModel(List<ActingParameterModel> parameters, String providerId, boolean requiresConfiguration, boolean requiresConnection)
parameters - the list of parameters taken into account to fetch the sample dataproviderId - the id which unequivocally identifies each providerrequiresConfiguration - indicates if the configuration is required to fetch the samplerequiresConnection - indicates if the connection is required to fetch the samplepublic List<ActingParameterModel> getParameters()
public String getProviderId()
public boolean requiresConfiguration()
public boolean requiresConnection()
Copyright © 2022 MuleSoft, Inc.. All rights reserved.