@NoImplement
public interface ComponentParameterAst
| Modifier and Type | Method and Description |
|---|---|
ComponentGenerationInformation |
getGenerationInformation() |
org.mule.runtime.api.meta.model.parameter.ParameterGroupModel |
getGroupModel() |
Optional<ComponentMetadataAst> |
getMetadata() |
org.mule.runtime.api.meta.model.parameter.ParameterModel |
getModel() |
String |
getRawValue()
This method WILL NOT resolve any property placeholders to the actual values if present.
|
String |
getResolvedRawValue()
This method WILL resolve any property placeholders to the actual values if present.
|
<T> org.mule.runtime.api.functional.Either<String,T> |
getValue()
Returns either the expression for this parameter or a fixed value, depending on what is set in the DSL.
|
<T> org.mule.runtime.api.functional.Either<String,org.mule.runtime.api.functional.Either<ParameterResolutionException,T>> |
getValueOrResolutionError()
Returns either the expression for this parameter, a
ParameterResolutionException occurred while converting the value
to its expected type, a fixed value, depending on what is set in the DSL. |
boolean |
isDefaultValue()
Returns
true if this is a default parameter; returns false otherwise. |
org.mule.runtime.api.meta.model.parameter.ParameterModel getModel()
org.mule.runtime.api.meta.model.parameter.ParameterGroupModel getGroupModel()
null.<T> org.mule.runtime.api.functional.Either<String,T> getValue()
When using the right part returned by this method for a parameter that is a complex object defined inline, the
definition of the object will be returned (a ComponentAst), not the object itself.
ParameterResolutionException - if an error occurs converting a fixed value to the type of the parameter declaration.<T> org.mule.runtime.api.functional.Either<String,org.mule.runtime.api.functional.Either<ParameterResolutionException,T>> getValueOrResolutionError()
ParameterResolutionException occurred while converting the value
to its expected type, a fixed value, depending on what is set in the DSL.
Refer to getValue() for details on the left and the right,right returned value.
String getRawValue()
getResolvedRawValue() or
getValue() if properties resolution is needed.String getResolvedRawValue()
getRawValue() if properties
resolution is not wanted.
Property placeholders resolution is done with the object given to
ArtifactAst.updatePropertiesResolver(java.util.function.UnaryOperator).
Optional<ComponentMetadataAst> getMetadata()
Optional.empty() otherwise.ComponentGenerationInformation getGenerationInformation()
boolean isDefaultValue()
true if this is a default parameter; returns false otherwise.Copyright © 2022 MuleSoft, Inc.. All rights reserved.