You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This method get Map of Attributes with searching values and try to find all facilities, which have specific attributes in format.
118
+
* Better information about format below. When there are more than 1 attribute in Map, it means all must be true "looking for all of them" (AND)
119
+
*
120
+
* @param sess perun session
121
+
* @param attributesWithSearchingValues map of attributes names
122
+
* when attribute is type String, so value is string and we are looking for total match (Partial is not supported now, will be supported later by symbol *)
123
+
* when attribute is type Integer, so value is integer in String and we are looking for total match
124
+
* when attribute is type List<String>, so value is String and we are looking for at least one total or partial matching element
125
+
* when attribute is type Map<String> so value is String in format "key=value" and we are looking total match of both or if is it "key" so we are looking for total match of key
126
+
* IMPORTANT: In map there is not allowed char '=' in key. First char '=' is delimiter in MAP item key=value!!!
127
+
* @return list of facilities that have attributes with specific values (behaviour above)
* This method get Map of Attributes with searching values and try to find all facilities, which have specific attributes in format.
106
+
* Better information about format below. When there are more than 1 attribute in Map, it means all must be true "looking for all of them" (AND)
107
+
*
108
+
* @param sess perun session
109
+
* @param attributesWithSearchingValues map of attributes names
110
+
* when attribute is type String, so value is string and we are looking for total match (Partial is not supported now, will be supported later by symbol *)
111
+
* when attribute is type Integer, so value is integer in String and we are looking for total match
112
+
* when attribute is type List<String>, so value is String and we are looking for at least one total or partial matching element
113
+
* when attribute is type Map<String> so value is String in format "key=value" and we are looking total match of both or if is it "key" so we are looking for total match of key
114
+
* IMPORTANT: In map there is not allowed char '=' in key. First char '=' is delimiter in MAP item key=value!!!
115
+
* @return list of facilities that have attributes with specific values (behaviour above)
116
+
* if no such facility exists, returns empty list
117
+
*
118
+
* @throws InternalErrorException internal error
119
+
* @throws AttributeNotExistsException when specified attribute does not exist
//Compare all needed attributes and their value to the attributes of every facility. If he does not fit, remove it from the array of returned facilities.
0 commit comments