com.sta.mutils.MUtilsVersionHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtools Show documentation
Show all versions of xtools Show documentation
Executable tools for all projects.
package com.sta.mutils;
/**
* Name: MUtilsVersionHelper
* Description: Provide versions and other variables from maven.
*
* Comment: ...
*
* Copyright: Copyright (c) 2019-2021
* Company: >StA-Soft<
* @author StA
* @version 1.0
*/
public final class MUtilsVersionHelper
{
/**
* Project-Name.
*/
public static final String PROJECT_NAME = "MUtils";
/**
* Version.
*/
public static final String VERSION = "1.10";
/**
* Major-Version.
*/
public static final String MAJOR_VERSION = "1";
/**
* Minor-Version.
*/
public static final String MINORVERSION_VERSION = "10";
/**
* Incremental-Version.
*/
public static final String INCREMENTALVERSION_VERSION = "0";
/**
* Qualifiert-Version.
*/
public static final String QUALIFIER_VERSION = "";
/**
* Build-Number-Version.
*/
public static final String BUILDNUMBER_VERSION = "0";
/**
* Copyright.
*/
public static final String COPYRIGHT = "2018-2021";
/**
* Company.
*/
public static final String COMPANY = ">StA-Soft<";
/**
* SCM-Tag.
*/
public static final String SCM_TAG = "HEAD";
/**
* Build-Time.
*/
public static final String BUILD_TIME = "14.04.2021 17:34:30"; // TimeZone: MESZ Europe/Berlin
/**
* Welcome-Message.
*/
public static final String WELCOME_MESSAGE = PROJECT_NAME + " Version " + VERSION + " Copyright (c) " + COPYRIGHT + " " + COMPANY;
//===========================================================================
/**
* Version ermitteln.
* @return Version
*/
public static String getVersion()
{
return VERSION;
}
/**
* Copyright ermitteln.
* @return Copyright
*/
public static String getCopyright()
{
return COPYRIGHT;
}
/**
* Company ermitteln.
* @return Company
*/
public static String getCompany()
{
return COMPANY;
}
/**
* Zeitpunkt des Generierens bzw. des Builds ermitteln.
* @return Zeitpunkt des Generierens bzw. des Builds als String in der Form
* "TT.MM.JJJJ HH:MM:SS"
*/
public static String getBuildTime()
{
return BUILD_TIME;
}
//===========================================================================
/**
* Dummy-Constructor.
*/
private MUtilsVersionHelper()
{
}
}