Class MTask

    • Constructor Detail

      • MTask

        public MTask​(Properties ctx,
                     int AD_Task_ID,
                     String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        AD_Task_ID - id
        trxName - trx
      • MTask

        public MTask​(Properties ctx,
                     ResultSet rs,
                     String trxName)
        Load Cosntructor
        Parameters:
        ctx - ctx
        rs - result set
        trxName - trx
    • Method Detail

      • execute

        public String execute()
        Execute Task and wait
        Returns:
        execution info
      • executeLocal

        public String executeLocal​(String cmd)
        Execute Task locally and wait
        Parameters:
        cmd - command
        Returns:
        execution info
      • afterSave

        protected boolean afterSave​(boolean newRecord,
                                    boolean success)
        After Save.
        Overrides:
        afterSave in class PO
        Parameters:
        newRecord - new record
        success - success
        Returns:
        true if save complete (if not overwritten true)