cloud.prefab.client.config.Provenance Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prefab-cloud-java Show documentation
Show all versions of prefab-cloud-java Show documentation
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();
}
}