Package org.pentaho.di.core
Interface AttributesInterface
-
public interface AttributesInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAttribute(String groupName, String key)Get a value for an attribute in an attribute groupMap<String,String>getAttributes(String groupName)Get an attributes map for a groupMap<String,Map<String,String>>getAttributesMap()voidsetAttribute(String groupName, String key, String value)Add an attribute to an attribute groupvoidsetAttributes(String groupName, Map<String,String> attributes)Add a map of attributes to an attribute group.voidsetAttributesMap(Map<String,Map<String,String>> attributesMap)Pass a map of group attributes
-
-
-
Method Detail
-
setAttributesMap
void setAttributesMap(Map<String,Map<String,String>> attributesMap)
Pass a map of group attributes- Parameters:
attributesMap- The map of group attributes
-
getAttributesMap
Map<String,Map<String,String>> getAttributesMap()
- Returns:
- All attributes for all attribute groups in one single map.
-
setAttributes
void setAttributes(String groupName, Map<String,String> attributes)
Add a map of attributes to an attribute group.- Parameters:
groupName- The group to add the attributes toattributes- the attributes to add
-
setAttribute
void setAttribute(String groupName, String key, String value)
Add an attribute to an attribute group- Parameters:
groupName- The group to add the attribute tokey- The key of the attributevalue- the value of the attribute
-
getAttributes
Map<String,String> getAttributes(String groupName)
Get an attributes map for a group- Parameters:
groupName- The name of the attributes group to retrieve- Returns:
- The map representing the attributes group
-
-