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

cloud.prefab.client.config.Provenance Maven / Gradle / Ivy

Go to download

API Client for https://prefab.cloud: rate limits, feature flags and semaphores as a service

The newest version!
package cloud.prefab.client.config;

import cloud.prefab.client.ConfigClient;

public class Provenance {

  private ConfigClient.Source source;
  private String sourceLocation;

  public Provenance(ConfigClient.Source source, String sourceLocation) {
    this.source = source;
    this.sourceLocation = sourceLocation;
  }

  @Override
  public String toString() {
    return new StringBuilder()
      .append(source.name())
      .append(":")
      .append(sourceLocation)
      .toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy