@@ -0,0 +1,1211 @@
+package org.pdxfinder.commands;%0A%0Aimport joptsimple.OptionParser;%0Aimport joptsimple.OptionSet;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0Aimport org.springframework.boot.CommandLineRunner;%0Aimport org.springframework.core.annotation.Order;%0Aimport org.springframework.stereotype.Component;%0A%0A/*%0A * Created by csaba on 03/07/2018.%0A */%0A@Component%0A@Order(value = 96)%0Apublic class SendNotifications implements CommandLineRunner%7B%0A%0A%0A    private final static Logger log = LoggerFactory.getLogger(SendNotifications.class);%0A%0A%0A%0A    @Override%0A    public void run(String... args) throws Exception %7B%0A%0A%0A        OptionParser parser = new OptionParser();%0A        parser.allowsUnrecognizedOptions();%0A%0A%0A        parser.accepts(%22loadALL%22, %22Load all, then send email notifications%22);%0A        parser.accepts(%22sendNotifications%22, %22Send email notifications%22);%0A%0A        OptionSet options = parser.parse(args);%0A%0A        if (options.has(%22loadALL%22)  %7C%7C options.has(%22sendNotifications%22)) %7B%0A%0A            log.info(%22Creating and sending email notifications%22);%0A%0A            getUnmappedSamples();%0A%0A%0A            sendEmail();%0A        %7D%0A%0A    %7D%0A%0A%0A%0A%0A    private void getUnmappedSamples()%7B%0A%0A%0A%0A    %7D%0A%0A    private void sendEmail()%7B%0A%0A    %7D%0A%0A%0A%7D%0A

Send email command skeleton