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

su.nlq.prometheus.jmx.connection.ConnectionConfiguration Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
package su.nlq.prometheus.jmx.connection;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import javax.xml.bind.annotation.XmlAttribute;
import java.util.Optional;
import java.util.function.Supplier;

public abstract class ConnectionConfiguration implements Supplier {
  @XmlAttribute
  private @Nullable String name;

  public final @NotNull Optional name() {
    return Optional.ofNullable(name);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy