public class PathMapper extends Object implements Serializable, IPathMapper
| Constructor and Description |
|---|
PathMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
get(String path)
Retrieve appropriate key by matching patterns with supplied path.
|
Collection<String> |
getAll(String path)
Retrieve all mappings which match a supplied path.
|
void |
put(String key,
String pattern)
Add a key and appropriate matching pattern.
|
String |
toString() |
public void put(String key, String pattern)
IPathMapperput in interface IPathMapperpublic String get(String path)
IPathMapperget in interface IPathMapperpublic Collection<String> getAll(String path)
IPathMappergetAll in interface IPathMapperCopyright © 2018 Atlassian. All rights reserved.