public class HubUtil extends Object
Modifier and Type | Method and Description |
---|---|
static ValidationResult |
convertFromValidationTaskResult(ValidationTaskResult res)
Convert from ValidationTaskResult.
|
static List<ValidationResult> |
convertValidationResult(Map<ValidationUtils.State,List<ValidationTaskResult>> input)
Convert from ValidationResult map to a list of validation result list.
|
static Map<String,String> |
getEnvVarsFromFile(String fileContent,
org.slf4j.Logger logger)
Get environment (key, value) pair from an environment file with export key = "value".
|
public static ValidationResult convertFromValidationTaskResult(ValidationTaskResult res)
res
- resultpublic static List<ValidationResult> convertValidationResult(Map<ValidationUtils.State,List<ValidationTaskResult>> input)
input
- input mappublic static Map<String,String> getEnvVarsFromFile(String fileContent, org.slf4j.Logger logger)
fileContent
- content of environment filelogger
- log4j output for loggingCopyright © 2023. All Rights Reserved.