Class Block
- java.lang.Object
-
- ru.ispras.microtesk.test.template.Block
-
public final class Block extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Block.Kind
-
Constructor Summary
Constructors Modifier Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
Block
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)
-
-
Method Detail
-
getBlockId
public BlockId getBlockId()
-
getWhere
public Where getWhere()
-
getSection
public Section getSection()
-
isAtomic
public boolean isAtomic()
-
isExternal
public boolean isExternal()
-
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
-
getAttribute
public java.lang.String getAttribute(java.lang.String name, java.lang.String fallback)
-
getAttributes
public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
-
getIterator
public ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<AbstractCall>> getIterator()
-
getIterator
public ru.ispras.testbase.knowledge.iterator.Iterator<java.util.List<AbstractCall>> getIterator(boolean isPrologueEpilogue)
-
isEmpty
public boolean isEmpty()
-
getPrologue
public java.util.List<AbstractCall> getPrologue()
-
getEpilogue
public java.util.List<AbstractCall> getEpilogue()
-
getConstraints
public java.util.Map<java.lang.String,Situation> getConstraints()
-
getRefCount
protected int getRefCount()
-
incRefCount
protected void incRefCount()
-
-