@Component public class ContextProviderUtils extends Object
Constructor and Description |
---|
ContextProviderUtils(ProjectConfigRequestCache cache,
OrderFactory orderFactory,
ContextProviderHelper contextProviderHelper) |
Modifier and Type | Method and Description |
---|---|
UrlBuilder |
createUrlBuilder(String basename) |
Set<String> |
flattenErrors(ErrorCollection collection) |
String |
getBaseUrl() |
Map<String,Object> |
getDefaultContext()
Provides a default context that should be provided to all context providers.
|
Project |
getProject() |
Comparator<String> |
getStringComparator() |
@Autowired public ContextProviderUtils(ProjectConfigRequestCache cache, OrderFactory orderFactory, ContextProviderHelper contextProviderHelper)
public Project getProject()
public Comparator<String> getStringComparator()
public Map<String,Object> getDefaultContext()
public Set<String> flattenErrors(ErrorCollection collection)
public String getBaseUrl()
public UrlBuilder createUrlBuilder(String basename)
Copyright © 2002-2021 Atlassian. All Rights Reserved.