Adds element to the drools/jbpm environment - the value must be thread save as it will be shared between all
<code>RuntimeEngine</code> instances
@param name name of the environment entry
@param value value of the environment entry
169532
public void addToEnvironment(String name, Object value) {
        this.environment.set(name, value);
        this.environmentEntries.put(name, value);
    }
488521
public void appendOptionalAttribute(final String name, final Object value) {
		if (value != null) {
			appendAttribute(name, value);
		}
	}
12050
public void addCollectionAttribute(String name, Object value) {
        List<Object> attributeValues = getCollectionAttribute(name);
        attributeValues.add(value);
    }
180477
public void setValueFor(Object value, String name) {
        getMapHelper().setValueForIn(value, name, getCurrentValues());
    }
325265
public void addAttribute(final String _name, final String _value) {
        this.attributes.put(_name, new XmlNode() {
            {
                this.name = _name;
                this.value = _value;
                this.valid = true;
                this.type = XmlNode.ATTRIBUTE_NODE;
            }
        });
    }
367338
public void addObjectToSession(String name, Object value) {
        if (session == null) {
            session = new HashMap<>();
        }
        if (logger.isDebugEnabled()) {
            logger.debug("Add object [" + name + "] to session with value [" + value + "]");
        }
        session.put(name, value);
    }
270857
public Processor setProperty(final String name, final String value) {
        args.put(name, value);
        return this;
    }
456400
public void addElement(int value)
  {

    if (!m_mutable)
      throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESETDTM_NOT_MUTABLE, null)); //"This NodeSetDTM is not mutable!");

    super.addElement(value);
  }
482223
public void put(String name, Scriptable start, Object value) {
        if (start == this) {
            synchronized (this) {
                if (isEmpty(name)) {
                    indexedProps.put(name, value);
                } else {
                    synchronized (context) {
                        int scope = context.getAttributesScope(name);
                        if (scope == -1) {
                            scope = ScriptContext.ENGINE_SCOPE;
                        }
                        context.setAttribute(name, jsToJava(value), scope);
                    }
                }
            }
        } else {
            start.put(name, start, value);
        }
    }
171848
public PersistenceDescriptor addNamespace(String name, String value)
   {
      model.attribute(name, value);
      return this;
   }
911722
public void addField(final String name, final Object value) {
        if (value == null) {
            this.fields.add(new Field(name, null, null));
        } else {
            this.fields.add(new Field(name, value.toString(), value.getClass().getName()));
        }
    }
915727
protected void assign(String name, Object value) {
        KeyWords.check(name);
        RequestContext.getValues().put(name, value);
    }
159413
public void set(String name, Object value) {
        if (value != null) {
            attributes.put(name, String.valueOf(value));
        } else {
            attributes.remove(name);
        }

    }
24472
public void addParameter( String name, String value )
    {
        if ( _additionalParameters == null )
        {
            _additionalParameters = new HashMap();
        }
        
        _additionalParameters.put( name, value );
    }
751569
public OrmDescriptor addNamespace(String name, String value)
   {
      model.attribute(name, value);
      return this;
   }
174381
public PortletDescriptor addNamespace(String name, String value)
   {
      model.attribute(name, value);
      return this;
   }
156686
public void put(Object name, Object value) {
		this.source.put((name != null) ? name.toString() : null, value);
	}