Interface ConfigurationProvider
-
- All Implemented Interfaces:
public interface ConfigurationProviderConfiguration provider contract.
-
-
Method Summary
Modifier and Type Method Description abstract ProviderIdentifiergetProviderIdentifier()Gets the identifier string for this provider. abstract ProviderInputsgetExpectedInput()Gets a ProviderInputs object the represents this provider's expected inputs. abstract ProviderConfigurationprovideConfiguration(@NonNull() ProviderInputs input)Method to retrieve the configuration data from this provider. -
-
Method Detail
-
getProviderIdentifier
@NonNull() abstract ProviderIdentifier getProviderIdentifier()
Gets the identifier string for this provider.
- Returns:
ProviderIdentifier that identifies this provider.
-
getExpectedInput
@NonNull() abstract ProviderInputs getExpectedInput()
Gets a ProviderInputs object the represents this provider's expected inputs.
- Returns:
A ProviderInputs object containing the keys of the inputs expected by this provider. An empty ProviderInputs is returned when no input is required.
-
provideConfiguration
@NonNull() abstract ProviderConfiguration provideConfiguration(@NonNull() ProviderInputs input)
Method to retrieve the configuration data from this provider.
- Parameters:
input- A ProviderInputs object containing user input, if any, for this provider.- Returns:
A ProviderConfiguration object representing the result of this attempt.
-
-
-
-