Examples of EventTypeEnum


Examples of com.sun.grid.jgdi.event.EventTypeEnum

            switch (columnIndex) {
                case TYPE_COL:
                    return subscriptionList.get(rowIndex);
                case SUB_COL:
                {
                    EventTypeEnum t = subscriptionList.get(rowIndex);
                    switch (t) {
                        case Shutdown:        return true;
                        case QmasterGoesDown: return true;
                        default:
                            return subscription.get(t).subscribed;
View Full Code Here

Examples of com.sun.grid.jgdi.event.EventTypeEnum

                    return "Error";
            }
        }
       
        public boolean isDirty(int row) {
            EventTypeEnum type = subscriptionList.get(row);
            return subscription.get(type).dirty;
        }
View Full Code Here

Examples of com.sun.grid.jgdi.event.EventTypeEnum

            return subscription.get(type).dirty;
        }
       
        @Override
        public boolean isCellEditable(int rowIndex, int columnIndex) {
            EventTypeEnum t = subscriptionList.get(rowIndex);
            switch(t) {
                case Shutdown: return false;
                case QmasterGoesDown: return false;
                default:
                     return columnIndex == SUB_COL;
View Full Code Here

Examples of com.sun.grid.jgdi.event.EventTypeEnum

        }
       
        @Override
        public void setValueAt(Object aValue, final int rowIndex, int columnIndex) {
            if (columnIndex == SUB_COL) {
                EventTypeEnum type = subscriptionList.get(rowIndex);
                boolean subscribe = (Boolean) aValue;
                SubscriptionElem elem = subscription.get(type);
                elem.dirty = true;
                elem.subscribed = subscribe;
                if(autoCommit.isSelected()) {
View Full Code Here

Examples of org.talend.esb.sam.common.event.EventTypeEnum

            if (authPolicy != null) {
                originator.setPrincipal(authPolicy.getUserName());
            }
        }

        EventTypeEnum eventType = getEventType(message);
        event.setEventType(eventType);

        CustomInfo customInfo = CustomInfo.getOrCreateCustomInfo(message);
        // System.out.println("custom props: " + customInfo);
        event.getCustomInfo().putAll(customInfo);
View Full Code Here

Examples of org.talend.esb.sam.common.event.EventTypeEnum

            flowLastTimestamp.put(flowID, obj.getTimestamp());

            if (!flowTypes.containsKey(flowID)) {
                flowTypes.put(flowID, new HashSet<String>());
            }
            EventTypeEnum typeEnum = obj.getEventType();
            flowTypes.get(flowID).add(typeEnum.toString());

            boolean isConsumer = typeEnum == EventTypeEnum.REQ_OUT || typeEnum == EventTypeEnum.RESP_IN
                    || typeEnum == EventTypeEnum.FAULT_IN;
            boolean isProvider = typeEnum == EventTypeEnum.REQ_IN || typeEnum == EventTypeEnum.RESP_OUT
                    || typeEnum == EventTypeEnum.FAULT_OUT;
View Full Code Here

Examples of org.talend.esb.sam.common.event.EventTypeEnum

            if (!flowTypes.containsKey(flowID)) {
                flowTypes.put(flowID, new HashSet<String>());
            }
            String eventType = obj.get("type").getAsString();
            flowTypes.get(flowID).add(eventType);
            EventTypeEnum typeEnum = EventTypeEnum.valueOf(eventType);
            boolean isConsumer = typeEnum == EventTypeEnum.REQ_OUT || typeEnum == EventTypeEnum.RESP_IN;
            boolean isProvider = typeEnum == EventTypeEnum.REQ_IN || typeEnum == EventTypeEnum.RESP_OUT;
            String host = obj.get("host").getAsString();
            String ip = obj.get("ip").getAsString();
            if (isConsumer) {
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.