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

com.gojek.de.stencil.client.StencilClient Maven / Gradle / Ivy

There is a newer version: 4.2.2
Show newest version
package com.gojek.de.stencil.client;

import com.gojek.de.stencil.models.DescriptorAndTypeName;
import com.google.protobuf.Descriptors;

import java.io.Closeable;
import java.util.Map;

public interface StencilClient extends Closeable {
    Descriptors.Descriptor get(String className);

    Map getAll();

    Map getTypeNameToPackageNameMap();

    Map getAllDescriptorAndTypeName();

    default String getAppName() {
        String podName = System.getenv("POD_NAME");
        if (podName != null) return podName;
        return "";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy