All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.swagger.codegen.v3.ignore.rules.EverythingRule Maven / Gradle / Ivy

There is a newer version: 3.0.64
Show newest version
package io.swagger.codegen.v3.ignore.rules;

import java.util.List;

/**
 * An ignore rule which matches everything.
 */
public class EverythingRule extends Rule {
    EverythingRule(List syntax, String definition) {
        super(syntax, definition);
    }

    @Override
    public Boolean matches(String relativePath) {
        return true;
    }

    @Override
    protected Operation getExcludeOperation(){ return Operation.EXCLUDE_AND_TERMINATE; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy