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

7
LINES

< > BotCompany Repo | #1008904 // woodyOnRules - rules without PROCESS = NO (and other criteria)

JavaX fragment (include)

1  
static L<WoodyRule> woodyOnRules(WoodyBot bot) {
2  
  ret [WoodyRule r : values(bot.rules)
3  
    | neq(r.properties.get("PROCESS"), "NO")
4  
    && neq(r.properties.get("LOCAL"), "YES")
5  
    && !cic(r.fullName, "#event.")
6  
    /*&& toInt(r.properties.get("PRIORITY")) >= 0*/];
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008904
Snippet name: woodyOnRules - rules without PROCESS = NO (and other criteria)
Eternal ID of this version: #1008904/11
Text MD5: 2b45e997007c44fb42faf6d76187b23b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-14 17:46:06
Source code size: 274 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 574 / 608
Version history: 10 change(s)
Referenced in: [show references]