public static class AnonymizeUserService.AnonymizeValidationResult extends ServiceResultImpl
Constructor and Description |
---|
AnonymizeValidationResult(ErrorCollection errors,
AnonymizationParameters request,
AnonymizeUserService.AnonymizeProcessData processData,
AnonymizeUserService.OperationsReport<Collection<AffectedEntity>> affectedEntitiesReport,
AnonymizeUserService.OperationsReport<Void> operationValidation) |
AnonymizeValidationResult(ErrorCollection errors,
ErrorCollection warnings,
AnonymizationParameters request,
AnonymizeUserService.AnonymizeProcessData processData,
AnonymizeUserService.OperationsReport<Collection<AffectedEntity>> affectedEntitiesReport,
AnonymizeUserService.OperationsReport<Void> operationValidation) |
Modifier and Type | Method and Description |
---|---|
static AnonymizeUserService.AnonymizeValidationResult |
fromFailedBusinessLogicValidation(AnonymizationParameters anonymizationParameters,
BusinessLogicValidationResult businessLogicValidationResult) |
AnonymizeUserService.OperationsReport<Collection<AffectedEntity>> |
getAffectedEntitiesReport() |
BusinessLogicValidationResult |
getBusinessLogicValidationResult() |
AnonymizeUserService.OperationsReport<Void> |
getOperationValidation() |
AnonymizeUserService.AnonymizeProcessData |
getProcessData()
Outcome of validation process, non null when validation succeeds.
|
AnonymizationParameters |
getRequest()
Request being validated.
|
WarningCollection |
getWarningCollection() |
ErrorCollection |
getWarnings() |
boolean |
hasWarnings() |
boolean |
isValid() |
getErrorCollection
public AnonymizeValidationResult(@Nonnull ErrorCollection errors, @Nonnull AnonymizationParameters request, @Nullable AnonymizeUserService.AnonymizeProcessData processData, @Nonnull AnonymizeUserService.OperationsReport<Collection<AffectedEntity>> affectedEntitiesReport, @Nonnull AnonymizeUserService.OperationsReport<Void> operationValidation)
public AnonymizeValidationResult(@Nonnull ErrorCollection errors, @Nonnull ErrorCollection warnings, @Nonnull AnonymizationParameters request, @Nullable AnonymizeUserService.AnonymizeProcessData processData, @Nonnull AnonymizeUserService.OperationsReport<Collection<AffectedEntity>> affectedEntitiesReport, @Nonnull AnonymizeUserService.OperationsReport<Void> operationValidation)
public static AnonymizeUserService.AnonymizeValidationResult fromFailedBusinessLogicValidation(@Nonnull AnonymizationParameters anonymizationParameters, @Nonnull BusinessLogicValidationResult businessLogicValidationResult)
@Nonnull public AnonymizationParameters getRequest()
@Nullable public AnonymizeUserService.AnonymizeProcessData getProcessData()
@Nonnull public AnonymizeUserService.OperationsReport<Void> getOperationValidation()
@Nonnull public AnonymizeUserService.OperationsReport<Collection<AffectedEntity>> getAffectedEntitiesReport()
public boolean isValid()
isValid
in interface ServiceResult
isValid
in class ServiceResultImpl
@Nonnull public ErrorCollection getWarnings()
public WarningCollection getWarningCollection()
getWarningCollection
in interface ServiceResult
getWarningCollection
in class ServiceResultImpl
WarningCollection
that contains all warnings that may have happened as a result of the validation.public boolean hasWarnings()
@Nonnull public BusinessLogicValidationResult getBusinessLogicValidationResult()
Copyright © 2002-2023 Atlassian. All Rights Reserved.