APISonar


org.apache.pulsar.tests.integration.functions.utils.CommandGenerator.Runtime.JAVA

> org > apache > pulsar > tests > integration > functions > utils > CommandGenerator > Runtime > JAVA
org APIs apache APIs pulsar APIs tests APIs integration APIs functions APIs utils APIs CommandGenerator APIs Runtime APIs JAVA APIs

Example 1
protected static String getExclamationClass(Runtime runtime) {
        if (Runtime.JAVA == runtime) {
            return EXCLAMATION_JAVA_CLASS;
        } else if (Runtime.PYTHON == runtime) {
            return EXCLAMATION_PYTHON_CLASS;
        } else {
            throw new IllegalArgumentException("Unsupported runtime : " + runtime);
        }
    }