public class ComponentAstDependency extends Object
ComponentAst with a given name and one of a set of given
StereotypeModels.| Constructor and Description |
|---|
ComponentAstDependency(String name,
Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> |
getAllowedStereotypes() |
String |
getName() |
int |
hashCode() |
boolean |
isSatisfiedBy(ComponentAst component)
Checks if the provided component satisfies this dependency
|
String |
toString() |
public String getName()
public Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> getAllowedStereotypes()
public boolean isSatisfiedBy(ComponentAst component)
component - the component to check againsttrue is the provided component satisfies this dependency, false otherwise.Copyright © 2021 MuleSoft, Inc.. All rights reserved.