Package org.jitterbit.integration.activity.client.log

Examples of org.jitterbit.integration.activity.client.log.OperationLogEntry


            this.fileExtension = fileExtension;
        }

        @Override
        public void actionPerformed(ActionEvent e) {
            final OperationLogEntry selected = getSelectedEntry();
            if (selected == null) {
                return;
            }
            ApplicationWorker worker = Application.getWorker();
            worker.submitForParallel(new ApplicationWorker.SafeRunnable() {
View Full Code Here


       
        @Override
        public synchronized void getOperationLog(OperationLogRequest request, GetOperationLogCallback callback) {
            updateTimeStamps();
            LogStatus status = progression[where];
            OperationLogEntry entry;
            if (status == LogStatus.SUCCESS) {
                entry = new OperationLogEntry(
                                opId,
                                "My Operation",
                                request.opInstanceId,
                                status,
                                startTime,
                                statusTime,
                                "The operation completed successfully",
                                new ArrayList<OperationLogMessage>());
                where = 0;
            } else {
                entry = new OperationLogEntry(
                                opId,
                                "My Operation",
                                request.opInstanceId,
                                status,
                                startTime,
                                statusTime,
                                "",
                                new ArrayList<OperationLogMessage>());
                ++where;
            }
            entry.setTimeReceived(timeReceived);
            callback.logWasRetrieved(Arrays.asList(entry));
        }
View Full Code Here

            opId = new OperationId();
        }
        long opInstanceId = (request.opInstanceId == null) ? 100L : request.opInstanceId;
        updateTimeStamps();
        LogStatus status = progression[where];
        OperationLogEntry entry;
        if (status == LogStatus.SUCCESS) {
            entry = new OperationLogEntry(
                            opId,
                            "My Operation",
                            opInstanceId,
                            status,
                            startTime,
                            statusTime,
                            "The operation completed successfully",
                            new ArrayList<OperationLogMessage>());
            where = 0;
        } else {
            entry = new OperationLogEntry(
                            opId,
                            "My Operation",
                            opInstanceId,
                            status,
                            startTime,
                            statusTime,
                            "",
                            new ArrayList<OperationLogMessage>());
            ++where;
        }
        entry.setTimeReceived(timeReceived);
        callback.logWasRetrieved(Arrays.asList(entry));
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.activity.client.log.OperationLogEntry

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.