mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 13:59:49 -04:00
ProcessRenameAction => ExecutableRenameAction
This commit is contained in:
parent
42fa6bf0df
commit
d442a8de8b
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user