Examples of DataLocation


Examples of org.jitterbit.integration.data.location.DataLocation

    public TargetReferencesReplacer(ReferenceReplacementService service) {
        this.service = service;
    }

    public void replaceReferences(Target target) {
        DataLocation location = target.getLocation();
        if (location instanceof HttpLocation) {
            replaceHttpResponseTarget((HttpLocation) location);
        }
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

     * Runs the validation. When done, the submitted <code>ValidationMessageCollector</code> can
     * be queried for the validation result.
     *
     */
    public void run() {
        DataLocation location = target.getLocation();
        if (location == null) {
            fatal(TargetMessages.getString("TargetValidator.NoLocation"));
        }
        else {
            validateLocation(location);
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

    }

    public DatabaseLocation getSelectedLocation() {
        Target target = getSelectedEntity();
        if (target != null) {
            DataLocation dataLocation = target.getLocation();
            if (dataLocation instanceof DatabaseLocation) {
                return (DatabaseLocation) dataLocation;
            }
        }
        return null;
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

        return new EntityFilter() {

            @Override
            public boolean apply(IntegrationEntity e) {
                if (e instanceof Target) {
                    DataLocation location = ((Target) e).getLocation();
                    return location instanceof DatabaseLocation;
                }
                return false;
            }
        };
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

   
    private boolean getEnabledState() {
        JmsMessage message = model.getSourceMessage();
        Source source = model.getSource();
        if ((message != null) && (source != null)) {
            DataLocation loc = source.getLocation();
            if (loc != null) {
                return loc.getDataLocationType() == DataLocationType.JMS;
            }
        }
        return false;
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

    }

    public DatabaseLocation getSelectedLocation() {
        Source source = getSelectedEntity();
        if (source != null) {
            DataLocation dataLocation = source.getLocation();
            if (dataLocation instanceof DatabaseLocation) {
                return (DatabaseLocation) dataLocation;
            }
        }
        return null;
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

        return new EntityFilter() {

            @Override
            public boolean apply(IntegrationEntity e) {
                if (e instanceof Source) {
                    DataLocation location = ((Source) e).getLocation();
                    return location instanceof DatabaseLocation;
                }
                return false;
            }
        };
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

     * @return a <code>TestConnectionResult</code> representing the outcome of the test.
     *         <code>null</code> is returned if the connection test was cancelled by the user, or if
     *         the location to test is invalid.
     */
    public TestConnectionResult testConnection() {
        DataLocation loc = target.getLocation();
        if (loc != null) {
            return testConnection(loc);
        }
        return null;
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

     * @return a <code>TestConnectionResult</code> representing the outcome of the test.
     *         <code>null</code> is returned if the connection test was cancelled by the user, or if
     *         the location to test is invalid.
     */
    public TestConnectionResult testConnection() {
        DataLocation loc = source.getLocation();
        if (loc != null) {
            return testConnection(loc);
        }
        return null;
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.DataLocation

    private DataStructureType getDataStructureTypeFromLocatable(Locatable locatable) {
        if (locatable == null) {
            return null;
        }
        DataLocation location = locatable.getLocation();
        if (location == null) {
            return null;
        }
        DataLocationType type = location.getDataLocationType();
        return StructureLocationAssociations.getAssociatedStructureType(type);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.