Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

22
LINES

< > BotCompany Repo | #1001990 // allInjectionsPrettyList

JavaX fragment (include)

static L<Map> allInjectionsPrettyList() {
  new L<Map> l;
  for (DialogIO vm : talkToAllVMs()) {
    pcall {
      int vmPort = vm.getPort();
      S x = vm.ask("get injections");
      L injections = cast safeUnstructure(x);

      for (O inj : injections) {
        S progID = formatSnippetID((S) get(inj, "progID"));
        l.add(litmap(
          "VM", vmPort,
          "Injection ID", get(inj, "injectionID"),
          "Program ID", progID,
          "Program name", getSnippetTitle(progID),
          "More info", (boolean) get(inj, "mainDone") ? "main done" : "main running"));
      }
    }
    vm.close();
  }
  ret l;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001990
Snippet name: allInjectionsPrettyList
Eternal ID of this version: #1001990/1
Text MD5: d37b2a0d06b3a1ec9cebc4916e794c49
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-12-11 01:18:40
Source code size: 653 bytes / 22 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 698 / 925
Referenced in: [show references]