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

Examples of org.jitterbit.integration.data.entity.operation.RunnableStatus


        }

        @Override
        public boolean isSupported(Operation op) {
            OperationClientStartChecker checker = new OperationClientStartChecker(OperationExecutionMode.RUN);
            RunnableStatus status = checker.checkRunnableStatus(op);
            return status.isRunnable();
        }
View Full Code Here


            Alert.error("There are no operations using this transformation.", "Error");
        }

        private boolean isOperationTestable(Operation op) {
            OperationClientStartChecker checker = new OperationClientStartChecker(OperationExecutionMode.TEST);
            RunnableStatus status = checker.checkRunnableStatus(op);
            boolean runnable = status.isRunnable();
            if (!runnable) {
                showNotTestableMessage(status);
            }
            return runnable;
        }
View Full Code Here

    }

    public void checkAndRun(Operation op, Runnable job) {
        operation = op;
        jobToRun = job;
        RunnableStatus status = checkRunnableStatus();
        if (status.isRunnable()) {
            saveAndDeploy();
        } else {
            NonBlockingAlert.error(status.getReasonNotRunnable(), textToShowIfNotRunnable);
        }
    }
View Full Code Here

     *         client
     * @throws NullPointerException
     *             if <code>op</code> is <code>null</code>.
     */
    public RunnableStatus checkRunnableStatus(Operation op) {
        RunnableStatus status = op.getOperationType().checkRunnable(mode);
        if (!status.isRunnable()) {
            return status;
        }
        if (isJmsSource(op)) {
            return notRunnable("NotRunnable.JmsSource");
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.operation.RunnableStatus

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.