io.github.eliux.mega.cmd.AbstractMegaCmdRunnerWithParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of megacmd4j Show documentation
Show all versions of megacmd4j Show documentation
Java client library that works on top of MEGAcmd to provide access to the services of Mega.nz
The newest version!
package io.github.eliux.mega.cmd;
import java.util.LinkedList;
import java.util.List;
public abstract class AbstractMegaCmdRunnerWithParams
extends AbstractMegaCmdRunner {
@Override
protected List executableCommand() {
List cmdWithParams = new LinkedList<>();
cmdWithParams.addAll(super.executableCommand());
cmdWithParams.addAll(cmdParams());
return cmdWithParams;
}
abstract List cmdParams();
}