Package org.pentaho.di.core
Interface AttributesInterface
public interface AttributesInterface
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String groupName, String key) Get a value for an attribute in an attribute groupgetAttributes(String groupName) Get an attributes map for a groupvoidsetAttribute(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.voidPass a map of group attributes
-
Method Details
-
setAttributesMap
Pass a map of group attributes- Parameters:
attributesMap- The map of group attributes
-
getAttributesMap
- Returns:
- All attributes for all attribute groups in one single map.
-
setAttributes
Add a map of attributes to an attribute group.- Parameters:
groupName- The group to add the attributes toattributes- the attributes to add
-
setAttribute
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
Get an attributes map for a group- Parameters:
groupName- The name of the attributes group to retrieve- Returns:
- The map representing the attributes group
-
getAttribute
Get a value for an attribute in an attribute group- Parameters:
groupName- The group to get the attribute fromkey- The attribute key- Returns:
- The attribute value of null if the group of key doesn't exist
-