
de.dagere.peass.vcs.GitCommit Maven / Gradle / Ivy
/**
* This file is part of PerAn.
*
* PerAn is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PerAn 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 General Public License
* along with PerAn. If not, see .
*/
package de.dagere.peass.vcs;
/**
* Holds data of a git commit.
*
* @author reichelt
*
*/
public class GitCommit {
private String tag, comitter;
private String date, message;
public GitCommit(final String tag, final String comitter, final String date, final String message) {
super();
this.tag = tag;
this.comitter = comitter;
this.date = date;
this.message = message;
}
public String getTag() {
return tag;
}
public void setTag(final String tag) {
this.tag = tag;
}
public String getComitter() {
return comitter;
}
public void setComitter(final String comitter) {
this.comitter = comitter;
}
public String getDate() {
return date;
}
public void setDate(final String date) {
this.date = date;
}
public String getMessage() {
return message;
}
public void setMessage(final String message) {
this.message = message;
}
@Override
public String toString() {
return tag;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy