org.infinispan.scripting.impl.ScriptTask Maven / Gradle / Ivy
package org.infinispan.scripting.impl;
import java.util.Set;
import org.infinispan.tasks.Task;
import org.infinispan.tasks.TaskExecutionMode;
public class ScriptTask implements Task {
private final String name;
private final TaskExecutionMode mode;
private final Set parameters;
ScriptTask(String name, TaskExecutionMode mode, Set parameters) {
this.name = name;
this.mode = mode;
this.parameters = parameters;
}
@Override
public String getName() {
return name;
}
@Override
public String getType() {
return "Script";
}
@Override
public TaskExecutionMode getExecutionMode() {
return mode;
}
@Override
public Set getParameters() {
return parameters;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy