io.ray.serve.dag.ClassNode Maven / Gradle / Ivy
The 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