24 lines
545 B
Java
24 lines
545 B
Java
|
package envoy.client.data.commands;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* This interface defines an action that should be performed when a system
|
||
|
* command gets called.
|
||
|
*
|
||
|
* @author Leon Hofmeister
|
||
|
* @since Envoy Client v0.2-beta
|
||
|
*/
|
||
|
public interface Callable {
|
||
|
|
||
|
/**
|
||
|
* Performs the instance specific action when a {@link SystemCommand} has been
|
||
|
* called.
|
||
|
*
|
||
|
* @param arguments the arguments that should be passed to the
|
||
|
* {@link SystemCommand}
|
||
|
* @since Envoy Client v0.2-beta
|
||
|
*/
|
||
|
void call(List<String> arguments);
|
||
|
}
|