import { Action } from "./../../common/Objects/ActionRequest" ; /**
 * This class encapsulates the result of an Action request.
 */ export class ActionRequestResult { public action : Action ; public successful : boolean ; public aborted : boolean ; public error : string ; public reportPath : string ; public numLinesAccepted : number ; public numLinesRejected : number ; constructor param { Action } action param { boolean } successful param { string } error param { number } numLinesAccepted param { number } numLinesRejected constructor ( action , successful , aborted , error = null , reportPath = "" , numLinesAccepted = 0 , numLinesRejected = 0 ) { this . action = action ; this . successful = successful ; this . aborted = aborted ; this . error = error ; this . reportPath = reportPath ; this . numLinesAccepted = numLinesAccepted ; this . numLinesRejected = numLinesRejected ; } }