Class AbstractAggregateDumpTradeStep

    • Field Detail

      • city

        private ICity city
      • executeNext

        private boolean executeNext
      • context

        @Autowired
        private org.springframework.context.ApplicationContext context
    • Constructor Detail

      • AbstractAggregateDumpTradeStep

        public AbstractAggregateDumpTradeStep()
    • Method Detail

      • addSellStep

        public void addSellStep​(IWare ware)
      • execute

        public boolean execute()
        Description copied from interface: ITradeStep
        Execute the trade step.
        Specified by:
        execute in interface ITradeStep
        Returns:
        true if the next step can be executed on completion or if the execution is triggered by the arrival of the ship in the next port.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object