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

io.ray.serve.util.CommonUtil Maven / Gradle / Ivy

The newest version!
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