Package org.artifactory.md
Interface Properties
-
- All Superinterfaces:
Info
,MutablePropertiesInfo
,PropertiesInfo
,Serializable
public interface Properties extends MutablePropertiesInfo
A map of stringified keys and values, used for storing arbitrary key-value metadata on repository items.- Author:
- Yoav Landman
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Properties.MatchResult
-
Field Summary
Fields Modifier and Type Field Description static String
MANDATORY_SUFFIX
A mandatory property is stored as key+=valstatic String
MATRIX_PARAMS_SEP
-
Fields inherited from interface org.artifactory.md.PropertiesInfo
ROOT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasMandatoryProperty()
com.google.common.collect.Multiset<String>
keys()
Properties.MatchResult
matchQuery(Properties queryProperties)
boolean
putAll(com.google.common.collect.Multimap<? extends String,? extends String> multimap)
boolean
putAll(Map<? extends String,? extends String> map)
boolean
putAll(PropertiesInfo properties)
-
Methods inherited from interface org.artifactory.md.MutablePropertiesInfo
clear, put, putAll, putAll, removeAll, replaceValues
-
Methods inherited from interface org.artifactory.md.PropertiesInfo
asMap, containsKey, entries, get, getFirst, isEmpty, keySet, size, values
-
-
-
-
Field Detail
-
MATRIX_PARAMS_SEP
static final String MATRIX_PARAMS_SEP
- See Also:
- Constant Field Values
-
MANDATORY_SUFFIX
static final String MANDATORY_SUFFIX
A mandatory property is stored as key+=val- See Also:
- Constant Field Values
-
-
Method Detail
-
putAll
boolean putAll(com.google.common.collect.Multimap<? extends String,? extends String> multimap)
-
putAll
boolean putAll(PropertiesInfo properties)
-
keys
com.google.common.collect.Multiset<String> keys()
-
hasMandatoryProperty
boolean hasMandatoryProperty()
- Returns:
- True if there is a property with a mandatory key
- See Also:
MANDATORY_SUFFIX
-
matchQuery
Properties.MatchResult matchQuery(Properties queryProperties)
-
-