Package org.mule.runtime.ast.graph.api
Class ComponentAstDependency
java.lang.Object
org.mule.runtime.ast.graph.api.ComponentAstDependency
Object that represents a dependency on a
ComponentAst with a given name and one of a set of given
StereotypeModels.- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionComponentAstDependency(ComponentAst component, ComponentParameterAst parameter, String name, Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes) -
Method Summary
Modifier and TypeMethodDescriptionbooleanSet<org.mule.runtime.api.meta.model.stereotype.StereotypeModel>getName()inthashCode()booleanisSatisfiedBy(ComponentAst component) Checks if the provided component satisfies this dependencytoString()
-
Constructor Details
-
ComponentAstDependency
public ComponentAstDependency(ComponentAst component, ComponentParameterAst parameter, String name, Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes)
-
-
Method Details
-
getComponent
- Returns:
- the dependent component.
-
getParameter
- Returns:
- the dependent parameter.
-
getName
- Returns:
- the name of the dependency.
-
getAllowedStereotypes
- Returns:
- the possible stereotypes that are accepted by this dependency.
-
isSatisfiedBy
Checks if the provided component satisfies this dependency- Parameters:
component- the component to check against- Returns:
trueis the provided component satisfies this dependency,falseotherwise.
-
toString
-
hashCode
public int hashCode() -
equals
-