/** * Sets a global attribute with a map of values. Global attributes will be set on all monitors * during the initMonitor() call. * * @param attributes the map of attributes to set */ public void setGlobalAttributes(final Map attributes) { globalAttributes.setAll(attributes); }
/** * Creates an attribute map with a pre-filled set of attributes. Attributes will be copied from * the specified attributeMap. * @param attributeMap the initial values. Ignored if null. */ public AttributeMap(final Map<String, Object> attributeMap) { this(); if (attributeMap != null) { setAll(attributeMap); } }
public void setAll(final Map<String, Object> attributes) { this.attributes.setAll(attributes); }
public void setAll(Map attributes) { _attributes.setAll(attributes); }