Skip to content

Commit

Permalink
Skip action with has in id - probably a thing specific action
Browse files Browse the repository at this point in the history
  • Loading branch information
seime committed Dec 25, 2024
1 parent 4aeb1da commit 903e1dc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import java.io.File;
import java.io.FileWriter;
import java.util.*;
import java.util.stream.Collectors;

import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.exception.ExceptionUtils;
Expand Down Expand Up @@ -51,7 +52,8 @@ public JRuleModuleActionClassGenerator(JRuleConfig jRuleConfig, ModuleTypeRegist
}

public boolean generateActionSources() {
Collection<ActionType> actions = moduleTypeRegistry.getActions();
Collection<ActionType> actions = moduleTypeRegistry.getActions().stream()
.filter(actionType -> actionType.getUID().lastIndexOf("#") == -1).collect(Collectors.toList());
return generateActionSource(actions);
}

Expand Down

0 comments on commit 903e1dc

Please sign in to comment.