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

no.difi.certvalidator.structure.AbstractJunction Maven / Gradle / Ivy

There is a newer version: 2.2.1
Show newest version
package no.difi.certvalidator.structure;

import no.difi.certvalidator.api.ValidatorRule;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public abstract class AbstractJunction implements ValidatorRule {

    protected List validatorRules = new ArrayList();

    public AbstractJunction(ValidatorRule... validatorRules) {
        addRule(validatorRules);
    }

    public AbstractJunction addRule(ValidatorRule... validatorRules) {
        this.validatorRules.addAll(Arrays.asList(validatorRules));
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy