summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSCommand.java
blob: bb64cdfb95d70e09fcc0c7ce6cbaa29de19cbb44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package bjc.utils.cli.fds;

/**
 * A command attached to an FDS interface.
 * 
 * @author bjculkin
 *
 * @param <S>
 *                The state type of the interface.
 */
@FunctionalInterface
public interface FDSCommand<S> {
	/**
	 * Run this command.
	 * 
	 * @param state
	 *                The current FDS state.
	 */
	void run(FDSState<S> state);
}