Package org.jitterbit.integration.data.entity.httpendpoint

Examples of org.jitterbit.integration.data.entity.httpendpoint.TriggeredOperation


    private void configureOperationsToRun(Operation template, HttpEndpoint newItem, ResponseType responseType) {
        TriggeredOperations ops = new TriggeredOperations();
        OperationRunMode mode = responseType == ResponseType.OPERATION ? OperationRunMode.SYNCHRONOUS :
            OperationRunMode.ASYNCHRONOUS;
        ops.addOperation(new TriggeredOperation(template.getID(), null, mode, mode == OperationRunMode.SYNCHRONOUS,
                        isUsingRequestAsSource(template)));
        newItem.setTriggeredOperations(ops);
    }
View Full Code Here


        TriggeredOperations ops = new TriggeredOperations();
        OperationId response = getResponseGenerator();
        for (OperationId opId : operationIds.get()) {
            OperationRunMode mode = getRunMode(opId);
            boolean isResponseGenerator = (mode == OperationRunMode.SYNCHRONOUS ? opId == response : false);
            ops.addOperation(new TriggeredOperation(opId, null, mode, isResponseGenerator));
        }
        return ops;
    }
View Full Code Here

    }

    @Override
    protected Object[] getColumnDataFromObject(Object o) {
        if (o instanceof TriggeredOperation) {
            TriggeredOperation op = (TriggeredOperation) o;
            return new Object[] { op.getOperationId(), op.getRunMode(), op.isResponseGenerator() };
        }
        throwIllegalRowObject(o, TriggeredOperation.class);
        return null;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.httpendpoint.TriggeredOperation

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.