All files / output cl_progress_indicator.clas.mjs

35.55% Statements 16/45
100% Branches 2/2
6.25% Functions 1/16
35.55% Lines 16/45

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 451x 1x 1x 1x 1x 1x 1x 1x 1x 1x             1x       1x     1x                                     1x 1x 1x
const {cx_root} = await import("./cx_root.clas.mjs");
// cl_progress_indicator.clas.abap
class cl_progress_indicator {
  static STATIC_SUPER = undefined;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CL_PROGRESS_INDICATOR';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {};
  static METHODS = {"PROGRESS_INDICATE": {"visibility": "U", "parameters": {"I_TEXT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "I_PROCESSED": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "I_TOTAL": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "I_OUTPUT_IMMEDIATELY": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "I_MSGID": {"type": () => {return new abap.types.Character(20, {"qualifiedName":"sy-msgid"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "I_MSGNO": {"type": () => {return new abap.types.Numc({length: 3, qualifiedName: "sy-msgno"});}, "is_optional": " ", "parm_kind": "I", "type_name": "NumericType"}, "I_MSGV1": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "I_MSGV2": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "I_MSGV3": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "I_MSGV4": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "E_PROGRESS_SENT": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "E", "type_name": "CharacterType"}}}};
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
    };
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async progress_indicate(INPUT) {
    return cl_progress_indicator.progress_indicate(INPUT);
  }
  static async progress_indicate(INPUT) {
    let i_text = INPUT?.i_text || new abap.types.Character(4);
    let i_processed = new abap.types.Integer({qualifiedName: "I"});
    if (INPUT && INPUT.i_processed) {i_processed.set(INPUT.i_processed);}
    let i_total = new abap.types.Integer({qualifiedName: "I"});
    if (INPUT && INPUT.i_total) {i_total.set(INPUT.i_total);}
    let i_output_immediately = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    if (INPUT && INPUT.i_output_immediately) {i_output_immediately.set(INPUT.i_output_immediately);}
    let i_msgid = new abap.types.Character(20, {"qualifiedName":"sy-msgid"});
    if (INPUT && INPUT.i_msgid) {i_msgid.set(INPUT.i_msgid);}
    let i_msgno = new abap.types.Numc({length: 3, qualifiedName: "sy-msgno"});
    if (INPUT && INPUT.i_msgno) {i_msgno.set(INPUT.i_msgno);}
    let i_msgv1 = INPUT?.i_msgv1 || new abap.types.Character(4);
    let i_msgv2 = INPUT?.i_msgv2 || new abap.types.Character(4);
    let i_msgv3 = INPUT?.i_msgv3 || new abap.types.Character(4);
    let i_msgv4 = INPUT?.i_msgv4 || new abap.types.Character(4);
    let e_progress_sent = INPUT?.e_progress_sent || new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    return;
  }
}
abap.Classes['CL_PROGRESS_INDICATOR'] = cl_progress_indicator;
export {cl_progress_indicator};