Added GroovyRenameAction and ProcessRenameAction
This commit is contained in:
parent
38e57db3ef
commit
42fa6bf0df
|
@ -513,6 +513,10 @@ public abstract class ScriptShellBaseClass extends Script {
|
|||
return StandardRenameAction.forName(obj.toString());
|
||||
}
|
||||
|
||||
if (obj instanceof File) {
|
||||
return new ProcessRenameAction(obj.toString());
|
||||
}
|
||||
|
||||
if (obj instanceof Closure) {
|
||||
return new GroovyRenameAction((Closure) obj);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue