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

6
LINES

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

JavaX fragment (include)

static L<WoodyRule> woodyOnRules(WoodyBot bot) {
  ret [WoodyRule r : values(bot.rules)
    | neq(r.properties.get("PROCESS"), "NO")
    && !cic(r.fullName, "#event.")
    && toInt(r.properties.get("PRIORITY")) >= 0];
}

download  show line numbers  debug dex   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1008904
Snippet name: woodyOnRules - rules without PROCESS = NO (and other criteria)
Eternal ID of this version: #1008904/9
Text MD5: 9cb163113f413a2fa3eaa393d530fe18
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-16 13:37:41
Source code size: 224 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 19 / 24
Version history: 8 change(s)
Referenced in: [show]