001: package org.drools.util;
002:
003: import org.drools.common.ActivationGroupNode;
004: import org.drools.common.LogicalDependency;
005: import org.drools.common.RuleFlowGroupNode;
006: import org.drools.rule.GroupElement;
007: import org.drools.rule.Rule;
008: import org.drools.spi.AgendaGroup;
009: import org.drools.spi.PropagationContext;
010: import org.drools.spi.Tuple;
011:
012: /*
013: * Copyright 2005 JBoss Inc
014: *
015: * Licensed under the Apache License, Version 2.0 (the "License");
016: * you may not use this file except in compliance with the License.
017: * You may obtain a copy of the License at
018: *
019: * http://www.apache.org/licenses/LICENSE-2.0
020: *
021: * Unless required by applicable law or agreed to in writing, software
022: * distributed under the License is distributed on an "AS IS" BASIS,
023: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
024: * See the License for the specific language governing permissions and
025: * limitations under the License.
026: */
027:
028: public class BaseQueueable implements Queueable {
029: private Queue queue;
030: private int index;
031:
032: public void enqueued(final Queue queue, final int index) {
033: this .queue = queue;
034: this .index = index;
035: }
036:
037: public void dequeue() {
038: this .queue.dequeue(this .index);
039: }
040:
041: public void addLogicalDependency(LogicalDependency node) {
042: // TODO Auto-generated method stub
043:
044: }
045:
046: public ActivationGroupNode getActivationGroupNode() {
047: // TODO Auto-generated method stub
048: return null;
049: }
050:
051: public long getActivationNumber() {
052: // TODO Auto-generated method stub
053: return 0;
054: }
055:
056: public AgendaGroup getAgendaGroup() {
057: // TODO Auto-generated method stub
058: return null;
059: }
060:
061: public LinkedList getLogicalDependencies() {
062: // TODO Auto-generated method stub
063: return null;
064: }
065:
066: public PropagationContext getPropagationContext() {
067: // TODO Auto-generated method stub
068: return null;
069: }
070:
071: public Rule getRule() {
072: // TODO Auto-generated method stub
073: return null;
074: }
075:
076: public RuleFlowGroupNode getRuleFlowGroupNode() {
077: // TODO Auto-generated method stub
078: return null;
079: }
080:
081: public int getSalience() {
082: // TODO Auto-generated method stub
083: return 0;
084: }
085:
086: public GroupElement getSubRule() {
087: // TODO Auto-generated method stub
088: return null;
089: }
090:
091: public Tuple getTuple() {
092: // TODO Auto-generated method stub
093: return null;
094: }
095:
096: public boolean isActivated() {
097: // TODO Auto-generated method stub
098: return false;
099: }
100:
101: public void remove() {
102: // TODO Auto-generated method stub
103:
104: }
105:
106: public void setActivated(boolean activated) {
107: // TODO Auto-generated method stub
108:
109: }
110:
111: public void setActivationGroupNode(
112: ActivationGroupNode activationGroupNode) {
113: // TODO Auto-generated method stub
114:
115: }
116:
117: public void setLogicalDependencies(LinkedList justified) {
118: // TODO Auto-generated method stub
119:
120: }
121:
122: public void setRuleFlowGroupNode(RuleFlowGroupNode ruleFlowGroupNode) {
123: // TODO Auto-generated method stub
124:
125: }
126: }
|