blob: b4694c06f35db8e6fb7833adeb4958e267f16fff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/**
* Copyright (c) 2015 Camil Staps <info@camilstaps.nl>
* See the LICENSE file for copying permission.
*/
package com.camilstaps.shop;
/**
* A Command is something that can be executed by a normal visitor, a User or an Administrator.
* The current version only holds one string as command, but later versions could include arguments.
* @author Camil Staps, s4498062
*/
public class Command {
private final String command;
public Command(String command) {
this.command = command;
}
public String getCommand() {
return command;
}
}
|