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

io.swagger.codegen.ignore.rules.Part Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc1
Show newest version
package io.swagger.codegen.ignore.rules;

class Part {
    private final IgnoreLineParser.Token token;
    private final String value;

    public Part(IgnoreLineParser.Token token, String value) {
        this.token = token;
        this.value = value;
    }

    public Part(IgnoreLineParser.Token token) {
        this.token = token;
        this.value = token.getPattern();
    }

    public IgnoreLineParser.Token getToken() {
        return token;
    }

    public String getValue() {
        return value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy