me.qoomon.maven.extension.gitversioning.config.VersioningConfiguration Maven / Gradle / Ivy
package me.qoomon.maven.extension.gitversioning.config;
import me.qoomon.maven.extension.gitversioning.config.model.VersionFormatDescription;
import java.util.List;
import java.util.Objects;
/**
* Created by qoomon on 30/11/2016.
*/
public class VersioningConfiguration {
private final List branchVersionDescriptions;
private final List tagVersionDescriptions;
private final VersionFormatDescription commitVersionDescription;
public VersioningConfiguration(List branchVersionDescriptions,
List tagVersionDescriptions,
VersionFormatDescription commitVersionDescription) {
this.branchVersionDescriptions = Objects.requireNonNull(branchVersionDescriptions) ;
this.tagVersionDescriptions = Objects.requireNonNull(tagVersionDescriptions);
this.commitVersionDescription = Objects.requireNonNull(commitVersionDescription);
}
public List getBranchVersionDescriptions() {
return branchVersionDescriptions;
}
public List getTagVersionDescriptions() {
return tagVersionDescriptions;
}
public VersionFormatDescription getCommitVersionDescription() {
return commitVersionDescription;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy