Package com.jira.projects.reference
Class AlwaysNoneReportUrlProvider
java.lang.Object
com.jira.projects.reference.AlwaysNoneReportUrlProvider
- All Implemented Interfaces:
ReportUrlProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.atlassian.fugue.Option<String> getUrl(ReportModuleDescriptor descriptor, Map<String, Object> stringObjectMap) Generate Report URL for givenReportModuleDescriptor, within givencontext.
When givencontextdoes not satisfy report requirements, or Report should not show in particular context, it should returnOption.none()
-
Constructor Details
-
AlwaysNoneReportUrlProvider
public AlwaysNoneReportUrlProvider()
-
-
Method Details
-
getUrl
public io.atlassian.fugue.Option<String> getUrl(ReportModuleDescriptor descriptor, Map<String, Object> stringObjectMap) Description copied from interface:ReportUrlProviderGenerate Report URL for given
ReportModuleDescriptor, within givencontext.
When givencontextdoes not satisfy report requirements, or Report should not show in particular context, it should returnOption.none()- Specified by:
getUrlin interfaceReportUrlProvider- Parameters:
descriptor- Descriptor of Report Module which URL has to be generatedstringObjectMap- Context in which report will be displayed- Returns:
- Report URL or
Option.none()when report should not show in this context
-