Class RawOpsDoc

All Implemented Interfaces:
Tagged, Iterable<RawOpsBlock>

public class RawOpsDoc extends OpsOwner implements Iterable<RawOpsBlock>
  • Constructor Details

    • RawOpsDoc

      public RawOpsDoc()
  • Method Details

    • forSingleStatement

      public static RawOpsDoc forSingleStatement(String statement)
    • setFieldsByReflection

      public void setFieldsByReflection(Map<String,Object> properties)
      Overrides:
      setFieldsByReflection in class OpsOwner
    • getBlocks

      public List<RawOpsBlock> getBlocks()
      If raw ops are defined on this RawOpsDoc, then a single RawOpsBlock containing those op templates is prepended to the block list. Otherwise, the list of RawOpsBlocks is returned as-is.
      Returns:
      all logical ops blocks
    • setBlocks

      public void setBlocks(List<RawOpsBlock> blocks)
    • getRawScenarios

      public RawScenarios getRawScenarios()
    • setScenarios

      public void setScenarios(RawScenarios scenarios)
    • getVersionRegex

      public String getVersionRegex()
    • setVersionRegex

      public void setVersionRegex(String regex)
    • iterator

      @NotNull public @NotNull Iterator<RawOpsBlock> iterator()
      Specified by:
      iterator in interface Iterable<RawOpsBlock>