Interface ExternalValueProvider
-
public interface ExternalValueProviderInterface for resolvingexternal valuesforBaseConfigurationItems- See Also:
BaseConfigurationItem.get$externalProperties()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisProviderAvailable(com.xebialabs.deployit.plugin.api.udm.ExternalProperty externalProperty)Can this provider resolve a value (e.g.java.lang.Objectresolve(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 Detail
-
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
java.lang.Object resolve(com.xebialabs.deployit.plugin.api.udm.ExternalProperty externalProperty, boolean password) throws IllegalExternalPropertyReferenceExceptionResolve 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.
-
-