示例#1
0
    public WorkingMemoryReteAssertAction(MarshallerReaderContext context) throws IOException {
      this.factHandle = context.handles.get(context.readInt());
      this.removeLogical = context.readBoolean();
      this.updateEqualsMap = context.readBoolean();

      if (context.readBoolean()) {
        String pkgName = context.readUTF();
        String ruleName = context.readUTF();
        Package pkg = context.ruleBase.getPackage(pkgName);
        this.ruleOrigin = pkg.getRule(ruleName);
      }
      if (context.readBoolean()) {
        this.leftTuple = context.terminalTupleMap.get(context.readInt());
      }
    }