public void setExclude(final ExcludePath exclude) {
        this.exclude = exclude;
    }
Sets exclude.

@param exclude the exclude
shenyu-common/src/main/java/org/apache/shenyu/common/config/ShenyuConfig.java