static def parseJBakeTags()

in netbeans.apache.org/buildSrc/src/main/groovy/Utils.groovy [67:75]


    static def parseJBakeTags(def tags) {
        if(tags instanceof String) {
            return tags
        } else if (tags instanceof List) {
            return tags.join(",")
        } else {
            throw new IllegalStateException("The metadata tags must either be a string or a list.")
        }
    }