Package org.apache.logging.log4j.samples.events

Examples of org.apache.logging.log4j.samples.events.ScheduledTransaction


    alert.setTrigger("GT");
    alert.setThreshold("1000");
    alert.setMember(member);
    events.add(alert);

    final ScheduledTransaction scheduledTransaction = LogEventFactory
        .getEvent(ScheduledTransaction.class);

    scheduledTransaction.setAction("add");
    scheduledTransaction.setFromAccount("REPLACE"); // getAccount(mbr,
                                                    // accounts));
    scheduledTransaction.setToAccount("REPLACE"); // "9200000214");
    scheduledTransaction.setAmount("2541");
    scheduledTransaction.setStartDate("20110105");
    scheduledTransaction.setMember("256");
    scheduledTransaction.setFrequency("4");
    scheduledTransaction.setMemo("Scheduled Transfer");
    scheduledTransaction.setPayment("3456");
    scheduledTransaction.setCompletionNotification("Was completed");
    scheduledTransaction.setEndDate("2020-05-30");
    scheduledTransaction.setSrtId("Calabasas2341");
    scheduledTransaction.setSource("Home Page");
    scheduledTransaction.setCompletionStatus("success");
    scheduledTransaction.setMember(member);
    events.add(scheduledTransaction);

    return events;
  }
View Full Code Here


        alert.setTrigger("GT");
        alert.setThreshold("1000");
        alert.setMember(member);
        events.add(alert);

        final ScheduledTransaction scheduledTransaction = LogEventFactory
                .getEvent(ScheduledTransaction.class);

        scheduledTransaction.setAction("add");
        scheduledTransaction.setFromAccount("REPLACE"); // getAccount(mbr,
                                                        // accounts));
        scheduledTransaction.setToAccount("REPLACE"); // "9200000214");
        scheduledTransaction.setAmount("2541");
        scheduledTransaction.setStartDate("20110105");
        scheduledTransaction.setMember("256");
        scheduledTransaction.setFrequency("4");
        scheduledTransaction.setMemo("Scheduled Transfer");
        scheduledTransaction.setPayment("3456");
        scheduledTransaction.setCompletionNotification("Was completed");
        scheduledTransaction.setEndDate("2020-05-30");
        scheduledTransaction.setSrtId("Calabasas2341");
        scheduledTransaction.setSource("Home Page");
        scheduledTransaction.setCompletionStatus("success");
        scheduledTransaction.setMember(member);
        events.add(scheduledTransaction);

        return events;
    }
View Full Code Here

TOP

Related Classes of org.apache.logging.log4j.samples.events.ScheduledTransaction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.