public boolean hasRole(final String role) {
        if (roleSet == null) {
            if (roles == null || roles.length == 0) {
                roleSet = Collections.emptySet();
            } else {
                roleSet = new HashSet<>(Arrays.asList(roles));
            }
        }
        return roleSet.contains(role);
    }
Add this type to elements that we want to appear in the pipeline tree in
stepping mode.
stroom-core-shared/src/main/java/stroom/pipeline/shared/data/PipelineElementType.java