Class TradeServiceContext


public class TradeServiceContext extends ArgumentBasedContext
  • Constructor Details

  • Method Details

    • setupArguments

      protected void setupArguments(List<?> inputArgs, List<?> returnArgs)
      Specified by:
      setupArguments in class ArgumentBasedContext
    • doStep

      public void doStep()
      Description copied from class: Context
      If Context has a concrete execution step to perform, it should happen in this method. This should not include setting up next steps (i.e., children to perform), which should happen in the setupNextStep method. Primitive actions and operators (i.e., leaf nodes in the context tree) are examples where this method should be implemented.
      Overrides:
      doStep in class Context
    • copy

      public Context copy(Context newParent)
      Description copied from class: Context
      deep copy of the context, its status, and its children
      Specified by:
      copy in class Context
      Parameters:
      newParent - parent to attach the copied context too
      Returns:
      the copied context