1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-03-09 13:59:49 -04:00

ProcessRenameAction => ExecutableRenameAction

This commit is contained in:
Reinhard Pointner 2017-04-06 01:45:18 +08:00
parent 42fa6bf0df
commit d442a8de8b
3 changed files with 4 additions and 4 deletions

View File

@ -205,7 +205,7 @@ public class ArgumentBean {
public RenameAction getRenameAction() {
// support custom executables (via absolute path)
if (action.startsWith("/")) {
return new ProcessRenameAction(action);
return new ExecutableRenameAction(action);
}
// support custom groovy scripts (via closures)

View File

@ -6,11 +6,11 @@ import java.io.File;
import net.filebot.RenameAction;
public class ProcessRenameAction implements RenameAction {
public class ExecutableRenameAction implements RenameAction {
private final String executable;
public ProcessRenameAction(String executable) {
public ExecutableRenameAction(String executable) {
this.executable = executable;
}

View File

@ -514,7 +514,7 @@ public abstract class ScriptShellBaseClass extends Script {
}
if (obj instanceof File) {
return new ProcessRenameAction(obj.toString());
return new ExecutableRenameAction(obj.toString());
}
if (obj instanceof Closure) {