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

org.schoellerfamily.gedbrowser.controller.ApplicationInfoImpl Maven / Gradle / Ivy

There is a newer version: 1.3.0-RC2
Show newest version
package org.schoellerfamily.gedbrowser.controller;

import org.schoellerfamily.gedbrowser.datamodel.GedObject;
import org.schoellerfamily.gedbrowser.renderer.application.ApplicationInfo;
import org.springframework.beans.factory.annotation.Value;

/**
 * @author Dick Schoeller
 */
public final class ApplicationInfoImpl implements ApplicationInfo {
    /** */
    @Value("${gedbrowser.maintainer.email:[email protected]}")
    private transient String maintainerEmail;

    /** */
    @Value("${gedbrowser.maintainer.name:Richard Schoeller}")
    private transient String maintainerName;

    /** */
    @Value("${gedbrowser.applicationurl:"
            + "https://github.com/dickschoeller/gedbrowser}")
    private transient String applicationUrl;

    /** */
    @Value("${gedbrowser.homeurl:http://www.schoellerfamily.org/}")
    private transient String homeUrl;

    /**
     * {@inheritDoc}
     */
    @Override
    public String getApplicationName() {
        return "gedbrowser";
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String getVersion() {
        return GedObject.VERSION;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String getMaintainerEmail() {
        return maintainerEmail;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String getMaintainerName() {
        return maintainerName;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String getApplicationURL() {
        return applicationUrl;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String getHomeURL() {
        return homeUrl;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy