Class VerificationReporter
- java.lang.Object
-
- com.evolveum.midpoint.ninja.action.verify.VerificationReporter
-
public class VerificationReporter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.csv.CSVFormat
CSV_FORMAT
static String
DELTA_FILE_NAME_SUFFIX
static List<String>
REPORT_HEADER
-
Constructor Summary
Constructors Constructor Description VerificationReporter(@NotNull VerifyOptions options, @NotNull PrismContext prismContext, @NotNull Charset charset, @NotNull Log log)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
String
getEpilog()
static String
getIdentifierFromRecord(org.apache.commons.csv.CSVRecord record)
static String
getItemPathFromRecord(org.apache.commons.csv.CSVRecord record)
String
getProlog()
VerifyResult
getResult()
static UUID
getUuidFromRecord(org.apache.commons.csv.CSVRecord record)
void
init()
void
setCreateDeltaFile(boolean createDeltaFile)
static boolean
skipUpgradeForRecord(org.apache.commons.csv.CSVRecord record)
<T extends Objectable>
UpgradeValidationResultverify(Writer writer, PrismObject<T> object)
-
-
-
Field Detail
-
DELTA_FILE_NAME_SUFFIX
public static final String DELTA_FILE_NAME_SUFFIX
- See Also:
- Constant Field Values
-
CSV_FORMAT
public static final org.apache.commons.csv.CSVFormat CSV_FORMAT
-
-
Constructor Detail
-
VerificationReporter
public VerificationReporter(@NotNull @NotNull VerifyOptions options, @NotNull @NotNull PrismContext prismContext, @NotNull @NotNull Charset charset, @NotNull @NotNull Log log)
-
-
Method Detail
-
setCreateDeltaFile
public void setCreateDeltaFile(boolean createDeltaFile)
-
destroy
public void destroy()
-
init
public void init()
-
getProlog
public String getProlog()
-
getEpilog
public String getEpilog()
-
verify
public <T extends Objectable> UpgradeValidationResult verify(Writer writer, PrismObject<T> object) throws Exception
- Throws:
Exception
-
getItemPathFromRecord
public static String getItemPathFromRecord(org.apache.commons.csv.CSVRecord record)
-
getIdentifierFromRecord
public static String getIdentifierFromRecord(org.apache.commons.csv.CSVRecord record)
-
getUuidFromRecord
public static UUID getUuidFromRecord(org.apache.commons.csv.CSVRecord record)
-
skipUpgradeForRecord
public static boolean skipUpgradeForRecord(org.apache.commons.csv.CSVRecord record)
-
getResult
public VerifyResult getResult()
-
-