Subversion Repositories SmartDukaan

Rev

Rev 32878 | Rev 33054 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32878 Rev 33051
Line 181... Line 181...
181
    @Override
181
    @Override
182
    public void run(ApplicationArguments args) throws Exception {
182
    public void run(ApplicationArguments args) throws Exception {
183
        //scheduledTasks.test();
183
        //scheduledTasks.test();
184
        //System.exit();
184
        //System.exit();
185
        LOGGER.info("Called run method");
185
        LOGGER.info("Called run method");
-
 
186
        if(args.containsOption("removePartialBillingForTransaction")) {
-
 
187
            if(args.containsOption("trId")) {
-
 
188
                int transactionId = Integer.parseInt(args.getOptionValues("trId").get(0));
-
 
189
            }
-
 
190
            System.exit(0);
-
 
191
        }
186
        if (args.containsOption("tc")) {
192
        if (args.containsOption("tc")) {
187
            System.out.println("Toffee service called");
193
            System.out.println("Toffee service called");
188
            scheduledTasks.toffeeRollback();
194
            scheduledTasks.toffeeRollback();
189
            System.exit(0);
195
            System.exit(0);
190
        }
196
        }