Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ReportEventsCommand implements Executable {
- @Inject
- private static Writer writer;
- private static boolean shouldReport = false;
- public ReportEventsCommand() {
- }
- public boolean shouldReport() {
- return shouldReport;
- }
- public Writer getWriter() {
- return writer;
- }
- @Override
- public void execute() {
- shouldReport = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement