public static enum AMPReportingService.ReportManagementStrategy extends Enum<AMPReportingService.ReportManagementStrategy>
Enum Constant and Description |
---|
APPEND
Append any new modules to a report, creating the report first if it doesn't already exist; do not overwrite any existing reports.
|
OVERWRITE
Overwrite existing reports when a report with the same ID or name already exists, deleting any existing modules in the report in AMP prior to repopulating it with any new modules.
|
UNIQUE
Always create new reports, guaranteeing uniqueness by appending the current date and time as an ISO 8601 timestamp to the end of each report's name; do not overwrite or append modules to any existing reports.
|
Modifier and Type | Method and Description |
---|---|
static AMPReportingService.ReportManagementStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AMPReportingService.ReportManagementStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AMPReportingService.ReportManagementStrategy APPEND
public static final AMPReportingService.ReportManagementStrategy OVERWRITE
AMPReportingService.setActiveModule(String, String)
) rather than by ID (via AMPReportingService.setActiveModule(Integer)
); any modules in the active report (including the active module, assuming it's in the active report) will be deleted from AMP next time AMPReportingService.submitAccessibilityConcernsToAMP(List)
is invoked, making the active module ID invalid before any test results can be submitted to the module in AMP it used to reference, which will cause Continuum to throw a NotFoundException
.public static final AMPReportingService.ReportManagementStrategy UNIQUE
public static AMPReportingService.ReportManagementStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static AMPReportingService.ReportManagementStrategy[] values()
for (AMPReportingService.ReportManagementStrategy c : AMPReportingService.ReportManagementStrategy.values()) System.out.println(c);
Copyright © 2021. All rights reserved.