Sha256: 29ea67ff084cab8ae176e2e00102f5d2fa90a5bb8494379f5d2c3f98104978cb
Contents?: true
Size: 1.04 KB
Versions: 31
Compression:
Stored size: 1.04 KB
Contents
package sh.calaba.instrumentationbackend; import java.util.Arrays; import java.util.concurrent.atomic.AtomicReference; import android.os.Looper; import sh.calaba.instrumentationbackend.actions.Action; public class Command { private String line; private String command; private String[] arguments; public void setCommand(String command) { this.command = command; } public void setArguments(String[] arguments) { this.arguments = arguments; } public String getCommand() { return command; } public String[] getArguments() { return arguments; } public void setLine(String line) { this.line = line; } public String getLine() { return line; } public String toString() { return "Command:'Line:" + getLine() + "," + getCommand() + "', arguments:'" + Arrays.toString(getArguments()) + "'"; } public Result execute() { final Action action = InstrumentationBackend.actions.lookup(getCommand()); return action.execute(getArguments()); } }
Version data entries
31 entries across 31 versions & 1 rubygems