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

com.github.alexdlaird.ngrok.protocol.Version Maven / Gradle / Ivy

There is a newer version: 2.3.1
Show newest version
/*
 * Copyright (c) 2021-2024 Alex Laird
 *
 * SPDX-License-Identifier: MIT
 */

package com.github.alexdlaird.ngrok.protocol;

/**
 * An object representing ngrok's version and java-ngrok's version.
 */
public class Version {

    private final String ngrokVersion;
    private final String javaNgrokVersion;

    /**
     * Construct a version.
     *
     * @param ngrokVersion     The ngrok version.
     * @param javaNgrokVersion The java-ngrok version.
     */
    public Version(final String ngrokVersion, final String javaNgrokVersion) {
        this.ngrokVersion = ngrokVersion;
        this.javaNgrokVersion = javaNgrokVersion;
    }

    /**
     * Get the ngrok version.
     */
    public String getNgrokVersion() {
        return ngrokVersion;
    }

    /**
     * Get the java-ngrok version.
     */
    public String getJavaNgrokVersion() {
        return javaNgrokVersion;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy