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

io.ray.serve.dag.ClassNode Maven / Gradle / Ivy

There is a newer version: 2.39.0
Show newest version
package io.ray.serve.dag;

import java.util.Map;

public class ClassNode extends DAGNode {

  private String className;

  public ClassNode(
      String clsName,
      Object[] clsArgs,
      Map clsOptions,
      Map otherArgsToResolve) {
    super(clsArgs, clsOptions, otherArgsToResolve);
    this.className = clsName;
  }

  @Override
  public DAGNode copyImpl(
      Object[] newArgs, Map newOptions, Map newOtherArgsToResolve) {
    return new ClassNode(className, newArgs, newOptions, newOtherArgsToResolve);
  }

  public String getClassName() {
    return className;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy