Package org.eclipse.epsilon.emc.yaml
Class YamlModelOperationContributor
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
-
- org.eclipse.epsilon.emc.yaml.YamlModelOperationContributor
-
- All Implemented Interfaces:
AutoCloseable
public class YamlModelOperationContributor extends OperationContributor
-
-
Field Summary
Fields Modifier and Type Field Description protected YamlModel
yamlModel
-
Fields inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
cachedMethodNames
-
-
Constructor Summary
Constructors Constructor Description YamlModelOperationContributor(YamlModel yamlModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRow()
void
addRows(int size)
void
appendNode(Object item)
boolean
contributesTo(Object target)
void
set(int index, Object object)
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
close, findContributedMethodForEvaluatedParameters, findContributedMethodForEvaluatedParameters, findContributedMethodForUnevaluatedParameters, getContext, getReflectionTarget, getTarget, includeInheritedMethods, setContext, setTarget
-
-
-
-
Field Detail
-
yamlModel
protected YamlModel yamlModel
-
-
Constructor Detail
-
YamlModelOperationContributor
public YamlModelOperationContributor(YamlModel yamlModel)
-
-
Method Detail
-
contributesTo
public boolean contributesTo(Object target)
- Specified by:
contributesTo
in classOperationContributor
-
appendNode
public void appendNode(Object item) throws EolRuntimeException
- Throws:
EolRuntimeException
-
addRow
public void addRow() throws EolRuntimeException
- Throws:
EolRuntimeException
-
addRows
public void addRows(int size) throws EolRuntimeException
- Throws:
EolRuntimeException
-
set
public void set(int index, Object object) throws EolRuntimeException
- Throws:
EolRuntimeException
-
-