package se.arbetsformedlingen.venice.probe;

import java.util.Objects;

public class Application {
    private String application;

    Application(String application) {
        this.application = application;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Application that = (Application) o;
        return Objects.equals(application, that.application);
    }

    @Override
    public int hashCode() {
        return Objects.hash(application);
    }

    @Override
    public String toString() {
        return "Application{" +
                "application='" + application + '\'' +
                '}';
    }
}

package se.arbetsformedlingen.venice.probe;

import java.util.Objects;

public class Application {
    private String application;

    Application(String application) {
        this.application = application;
    }

    String getApplicationName() {
        return application;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Application that = (Application) o;
        return Objects.equals(application, that.application);
    }

    @Override
    public int hashCode() {
        return Objects.hash(application);
    }

    @Override
    public String toString() {
        return "Application{" +
                "application='" + application + '\'' +
                '}';
    }
}

Allow users to read the name
Allow users to read the name
