Class GenerateProductStep


  • public class GenerateProductStep
    extends ScenarioStep
    Step for generating product from pool
    • Method Summary

      Modifier and Type Method Description
      (package private) void execute()
      Generates product from pool.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • node

        private final Farmer node
      • product

        private final Product product
      • counter

        private static int counter
    • Constructor Detail

      • GenerateProductStep

        public GenerateProductStep​(Farmer node)
    • Method Detail

      • execute

        void execute()
        Generates product from pool.
        Specified by:
        execute in class ScenarioStep