This repository has been archived on 2021-12-05. You can view files and clone it, but cannot push or open issues or pull requests.
2020-10-02 15:23:21 +02:00
|
|
|
package envoy.client.data.commands;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
2020-10-19 18:17:51 +02:00
|
|
|
* This interface defines an action that should be performed when a system command gets called.
|
2020-10-02 15:23:21 +02:00
|
|
|
*
|
|
|
|
* @author Leon Hofmeister
|
|
|
|
* @since Envoy Client v0.2-beta
|
|
|
|
*/
|
|
|
|
public interface Callable {
|
|
|
|
|
|
|
|
/**
|
2020-10-19 18:17:51 +02:00
|
|
|
* Performs the instance specific action when a {@link SystemCommand} has been called.
|
2020-10-02 15:23:21 +02:00
|
|
|
*
|
2020-10-19 18:17:51 +02:00
|
|
|
* @param arguments the arguments that should be passed to the {@link SystemCommand}
|
2020-10-02 15:23:21 +02:00
|
|
|
* @since Envoy Client v0.2-beta
|
|
|
|
*/
|
|
|
|
void call(List<String> arguments);
|
|
|
|
}
|