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

pl.project13.maven.validation.ValidationProperty Maven / Gradle / Ivy

Go to download

This plugin makes basic repository information available through maven resources. This can be used to display "what version is this?" or "who has deployed this and when, from which branch?" information at runtime, making it easy to find things like "oh, that isn't deployed yet, I'll test it tomorrow" and making both testers and developers life easier. See https://github.com/git-commit-id/git-commit-id-maven-plugin

There is a newer version: 9.0.1
Show newest version
/*
 * This file is part of git-commit-id-maven-plugin by Konrad 'ktoso' Malawski 
 *
 * git-commit-id-maven-plugin is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * git-commit-id-maven-plugin is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with git-commit-id-maven-plugin.  If not, see .
 */

package pl.project13.maven.validation;


public class ValidationProperty {
  private String name;
  private String value;
  private String shouldMatchTo;

  public ValidationProperty() {
  }

  ValidationProperty(String name, String value, String shouldMatchTo) {
    this.name = name;
    this.value = value;
    this.shouldMatchTo = shouldMatchTo;
  }

  public void setName(String name) {
    this.name = name;
  }

  public void setValue(String value) {
    this.value = value;
  }

  public void setShouldMatchTo(String shouldMatchTo) {
    this.shouldMatchTo = shouldMatchTo;
  }

  public String getName() {
    return name;
  }

  public String getValue() {
    return value;
  }

  public String getShouldMatchTo() {
    return shouldMatchTo;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy