io.ray.serve.util.CommonUtil Maven / Gradle / Ivy
package io.ray.serve.util;
import org.apache.commons.lang3.StringUtils;
public class CommonUtil {
public static String getDeploymentName(String deploymentDef) {
return StringUtils.substringAfterLast(StringUtils.substringAfterLast(deploymentDef, "."), "$");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy