Package org.jitterbit.integration.activity.serverapi.log

Examples of org.jitterbit.integration.activity.serverapi.log.OperationLogRequest


        private final OperationLogRequest logRequest;

        public RefreshTask(long opInstanceId) {
            this.opInstanceId = opInstanceId;
            logRequest = new OperationLogRequest();
            logRequest.opInstanceId = opInstanceId;
        }
View Full Code Here


    /**
     * Downloads all log entries that match the defined filters.
     */
    public void getLogEntries() {
        OperationLogRequest request = createRequest();
        startJob(request);
    }
View Full Code Here

        OperationLogRequest request = createRequest();
        startJob(request);
    }

    private OperationLogRequest createRequest() {
        OperationLogRequest r = new OperationLogRequest();
        r.subjectId = model.getSubjectId();
        r.nameFilter = model.getNameFilter();
        r.maxNumberOfEntriesFilter = model.getMaxEntriesFilter();
        r.timeFilter = model.getTimeFilter();
        r.statusFilter = model.getStatusFilter();
View Full Code Here

    public void getNewLogEntries() {
        Date latestEntry = model.getTimeOfLastEntry();
        if (latestEntry == null) {
            getLogEntries();
        } else {
            OperationLogRequest request = createRequest();
            request.timeFilter = new TimeWindowFilter(model.getTimeOfLastEntry(), null);
            startJob(request);
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.activity.serverapi.log.OperationLogRequest

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.