2017-05-23 01:38:02 +02:00
|
|
|
import org.slf4j.Logger;
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
2017-04-29 16:35:57 +02:00
|
|
|
/**
|
2017-05-23 01:38:02 +02:00
|
|
|
* Class defining Guard
|
2017-04-29 16:35:57 +02:00
|
|
|
*/
|
|
|
|
public class Guard implements Permission {
|
|
|
|
|
2017-05-23 01:38:02 +02:00
|
|
|
private static final Logger LOGGER = LoggerFactory.getLogger(Guard.class);
|
|
|
|
|
2017-04-29 16:35:57 +02:00
|
|
|
protected static void enter() {
|
|
|
|
|
2017-05-23 01:38:02 +02:00
|
|
|
LOGGER.info("You can enter");
|
|
|
|
}
|
2017-04-29 16:35:57 +02:00
|
|
|
}
|