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

de.obqo.decycle.maven.Slicing Maven / Gradle / Ivy

package de.obqo.decycle.maven;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * Configuration class for slicings (within <slicings></slicings>):
 */
@Getter
@Setter
@ToString
public class Slicing {

    private String name;
    private String patterns;
    private AllowConstraint[] constraints;

    public String getName() {
        if (this.name == null || this.name.isBlank()) {
            throw new IllegalArgumentException("Missing name of slicing with patterns " + this.patterns);
        }
        return this.name;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy