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

me.qoomon.gitversioning.GitVersionDetails Maven / Gradle / Ivy

There is a newer version: 9.10.0
Show newest version
package me.qoomon.gitversioning;

import java.util.Map;

public class GitVersionDetails {

    private boolean clean;
    private final String commit;
    private final String commitRefType;
    private final String commitRefName;
    private final Map metaData;
    private final String version;

    public GitVersionDetails(final boolean clean,
                             final String commit,
                             final String commitRefType, final String commitRefName,
                             final Map metaData,
                             final String version) {
        this.clean = clean;
        this.metaData = metaData;
        this.version = version;
        this.commit = commit;
        this.commitRefType = commitRefType;
        this.commitRefName = commitRefName;
    }

    public boolean isClean() {
        return clean;
    }

    public String getCommit() {
        return commit;
    }

    public String getCommitRefType() {
        return commitRefType;
    }

    public String getCommitRefName() {
        return commitRefName;
    }

    public Map getMetaData() {
        return metaData;
    }

    public String getVersion() {
        return version;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy