All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vebqa.vebtal.command.AbstractCommand Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package org.vebqa.vebtal.command;

import org.vebqa.vebtal.model.CommandType;
import org.vebqa.vebtal.model.Response;

public abstract class AbstractCommand implements ICommand {
	
	protected final String command;
	protected final String target;
	protected final String value;
	
	protected CommandType type;
	
	public AbstractCommand(String aCommand, String aTarget, String aValue) {
		this.command = aCommand.trim();
		this.target = aTarget.trim();
		this.value = aValue.trim();
	}
	
	public abstract Response executeImpl(Object driver);
	
	public CommandType getType() {
		return this.type;
	}	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy