public final class Block
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Block.Kind |
Modifier | Constructor and Description |
---|---|
protected |
Block(Block.Kind kind,
BlockId blockId,
Where where,
Section section,
boolean isExternal,
java.util.Map<java.lang.String,java.lang.Object> attributes,
ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<AbstractCall>> iterator,
java.util.List<AbstractCall> prologue,
java.util.List<AbstractCall> epilogue,
java.util.Map<java.lang.String,Situation> constraints) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name) |
java.lang.String |
getAttribute(java.lang.String name,
java.lang.String fallback) |
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes() |
BlockId |
getBlockId() |
java.util.Map<java.lang.String,Situation> |
getConstraints() |
java.util.List<AbstractCall> |
getEpilogue() |
ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<AbstractCall>> |
getIterator() |
ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<AbstractCall>> |
getIterator(boolean isPrologueEpilogue) |
java.util.List<AbstractCall> |
getPrologue() |
protected int |
getRefCount() |
Section |
getSection() |
Where |
getWhere() |
protected void |
incRefCount() |
boolean |
isAtomic() |
boolean |
isEmpty() |
boolean |
isExternal() |
protected Block(Block.Kind kind, BlockId blockId, Where where, Section section, boolean isExternal, java.util.Map<java.lang.String,java.lang.Object> attributes, ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<AbstractCall>> iterator, java.util.List<AbstractCall> prologue, java.util.List<AbstractCall> epilogue, java.util.Map<java.lang.String,Situation> constraints)
public BlockId getBlockId()
public Where getWhere()
public Section getSection()
public boolean isAtomic()
public boolean isExternal()
public java.lang.Object getAttribute(java.lang.String name)
public java.lang.String getAttribute(java.lang.String name, java.lang.String fallback)
public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
public ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<AbstractCall>> getIterator()
public ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<AbstractCall>> getIterator(boolean isPrologueEpilogue)
public boolean isEmpty()
public java.util.List<AbstractCall> getPrologue()
public java.util.List<AbstractCall> getEpilogue()
public java.util.Map<java.lang.String,Situation> getConstraints()
protected int getRefCount()
protected void incRefCount()