SHARE
TWEET

reportEventsCommand

a guest Aug 2nd, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class ReportEventsCommand implements Executable {
  2.  
  3.     @Inject
  4.     private static Writer writer;
  5.  
  6.     private static boolean shouldReport = false;
  7.  
  8.     public ReportEventsCommand() {
  9.     }
  10.  
  11.     public boolean shouldReport() {
  12.         return shouldReport;
  13.     }
  14.  
  15.     public Writer getWriter() {
  16.         return writer;
  17.     }
  18.  
  19.     @Override
  20.     public void execute() {
  21.         shouldReport = true;
  22.     }
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top