public class TechnologyReferenceTransformer extends Object
TechnologyReference to another.| Constructor and Description |
|---|
TechnologyReferenceTransformer(TechnologyReference original,
TechnologyReference target)
Creates a transformer that converts references matching the original, to one matching the given destination.
|
| Modifier and Type | Method and Description |
|---|---|
TechnologyReference |
getOriginal()
Gets the type to transform from.
|
TechnologyReference |
getTarget()
Gets the type to transform to.
|
static List<TechnologyReferenceTransformer> |
getTransformers(RuleLoaderContext ruleLoaderContext)
Gets the transformers for the given graph context, or loads them if necessary.
|
TechnologyReference |
transform(String idAndVersion)
If the given reference matches the original, then this will return the target
TechnologyReference. |
TechnologyReference |
transform(TechnologyReference reference)
If the given reference matches the original, then this will return the target
TechnologyReference. |
public TechnologyReferenceTransformer(TechnologyReference original, TechnologyReference target)
public static List<TechnologyReferenceTransformer> getTransformers(RuleLoaderContext ruleLoaderContext)
public TechnologyReference getOriginal()
public TechnologyReference getTarget()
public TechnologyReference transform(TechnologyReference reference)
TechnologyReference.public TechnologyReference transform(String idAndVersion)
TechnologyReference.Copyright © 2021 JBoss by Red Hat. All rights reserved.