T
- public abstract class BasicContinuation<T> extends java.lang.Object implements Continuation<T>
Modifier and Type | Field and Description |
---|---|
protected CS2ASConversion |
context |
protected T |
csElement |
protected Dependency[] |
dependencies |
protected org.eclipse.emf.ecore.EStructuralFeature |
pivotFeature |
protected Element |
pivotParent |
Constructor and Description |
---|
BasicContinuation(CS2ASConversion context,
Element pivotParent,
org.eclipse.emf.ecore.EStructuralFeature pivotFeature,
T csElement,
Dependency... dependencies) |
Modifier and Type | Method and Description |
---|---|
void |
addError(java.lang.String message) |
void |
addTo(java.util.List<BasicContinuation<?>> simpleContinuations) |
boolean |
canExecute() |
abstract BasicContinuation<?> |
execute() |
Dependency[] |
getDependencies() |
java.lang.String |
toString() |
@NonNull protected final CS2ASConversion context
protected final Element pivotParent
protected final org.eclipse.emf.ecore.EStructuralFeature pivotFeature
@NonNull protected final T csElement
protected final Dependency[] dependencies
public BasicContinuation(@NonNull CS2ASConversion context, Element pivotParent, org.eclipse.emf.ecore.EStructuralFeature pivotFeature, @NonNull T csElement, Dependency... dependencies)
public void addError(@NonNull java.lang.String message)
public void addTo(@NonNull java.util.List<BasicContinuation<?>> simpleContinuations)
addTo
in interface Continuation<T>
public boolean canExecute()
public abstract BasicContinuation<?> execute()
public Dependency[] getDependencies()
public java.lang.String toString()
toString
in class java.lang.Object