Interface ExternalValueProvider
public interface ExternalValueProvider
Interface for resolving
external values for BaseConfigurationItems- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisProviderAvailable(com.xebialabs.deployit.plugin.api.udm.ExternalProperty externalProperty) Can this provider resolve a value (e.g.resolve(com.xebialabs.deployit.plugin.api.udm.ExternalProperty externalProperty, boolean password) Resolve a value for anExternalPropertybooleansupports(com.xebialabs.deployit.plugin.api.udm.ExternalProperty externalProperty) Can this provider provide a value for the property?
-
Method Details
-
isProviderAvailable
boolean isProviderAvailable(com.xebialabs.deployit.plugin.api.udm.ExternalProperty externalProperty) Can this provider resolve a value (e.g. is it currently available) -
supports
boolean supports(com.xebialabs.deployit.plugin.api.udm.ExternalProperty externalProperty) Can this provider provide a value for the property? -
resolve
Object resolve(com.xebialabs.deployit.plugin.api.udm.ExternalProperty externalProperty, boolean password) throws IllegalExternalPropertyReferenceException Resolve a value for anExternalProperty- Parameters:
externalProperty- The external property to resolvepassword- Whether the property will be used for a password property.- Returns:
- The value found. Can return
nullif non value was found. - Throws:
IllegalExternalPropertyReferenceException- when the provider refuses to provide a value for this call, e.g. when a secret is resolved for a non password field.
-