Package org.jitterbit.integration.data.entity.operation.pipeline

Examples of org.jitterbit.integration.data.entity.operation.pipeline.PipelineActivity


        }
        return null;
    }
   
    private Transformation getFirstTransformation() {
        PipelineActivity a = pipeline.getFirstActivityOfType(PipelineActivityType.TRANSFORMATION);
        if (a != null && !a.isEmpty()) {
            return (Transformation) a.getContent();
        }
        return null;
    }
View Full Code Here


        }
        return null;
    }
   
    private Transformation getSecondTransformation() {
        PipelineActivity a = pipeline.getLastActivityOfType(PipelineActivityType.TRANSFORMATION);
        if (a != null && !a.isEmpty()) {
            return (Transformation) a.getContent();
        }
        return null;
    }
View Full Code Here

     *
     * @return the <code>Transformation</code> that handles the web service response.
     *         <code>null</code> is returned if the request activity is empty.
     */
    public Transformation getResponse() {
        PipelineActivity ws = getWebServiceCallActivity();
        return getNextContent(ws, PipelineActivityType.TRANSFORMATION, Transformation.class);
    }
View Full Code Here

    /**
     * Returns the <code>TransformationActivity</code> representing the response transformation.
     *
     */
    public TransformationActivity getResponseActivity() {
        PipelineActivity ws = getWebServiceCallActivity();
        return (TransformationActivity) getNextActivity(ws, PipelineActivityType.TRANSFORMATION);
    }
View Full Code Here

            }
            return true;
        }
       
        private Source getSource() {
            PipelineActivity a = pipeline.getFirstActivityOfType(PipelineActivityType.SOURCE);
            if (a != null && !a.isEmpty()) {
                return (Source) a.getContent();
            }
            return null;
        }
View Full Code Here

            }
            return null;
        }
       
        private Target getTarget() {
            PipelineActivity a = pipeline.getFirstActivityOfType(PipelineActivityType.TARGET);
            if (a != null && !a.isEmpty()) {
                return (Target) a.getContent();
            }
            return null;
        }
View Full Code Here

                            "The response transformation cannot be removed from a web service operation");
        }
    }

    private boolean isRequestTransformation(TransformationActivity tf) {
        PipelineActivity next = pipeline.getNextActivity(tf);
        while (next != null) {
            if (next instanceof TransformationActivity) {
                return false;
            }
            if (next instanceof WebServiceCallActivity) {
View Full Code Here

        }
        return false;
    }

    private boolean isResponseTransformation(TransformationActivity tf) {
        PipelineActivity prev = pipeline.getPreviousActivity(tf);
        while (prev != null) {
            if (prev instanceof TransformationActivity) {
                return false;
            }
            if (prev instanceof WebServiceCallActivity) {
View Full Code Here

            throw new IllegalArgumentException("entry is not part of this pipeline");
        }
    }

    private WebServiceCall getWebServiceCall() {
        PipelineActivity a = pipeline.getFirstActivityOfType(PipelineActivityType.WEBSERVICECALL);
        if (a != null && !a.isEmpty()) {
            return (WebServiceCall) a.getContent();
        }
        return null;
    }
View Full Code Here

            }
            return tf.getOutputStructure().getStructureType() == DataStructureType.WebServiceRequest;
        }
       
        private Source getSource() {
            PipelineActivity a = pipeline.getFirstActivityOfType(PipelineActivityType.SOURCE);
            if (a != null && !a.isEmpty()) {
                return (Source) a.getContent();
            }
            return null;
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.operation.pipeline.PipelineActivity

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.