Package dev.botcity.maestro_sdk.util
Class ValidateUtil
java.lang.Object
dev.botcity.maestro_sdk.util.ValidateUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validArtifactId
(String artifactId) void
validEmailAndSubjectAndBodyAndType
(List<String> email, String subject, String body, MessageType type) void
validLabel
(String label) void
validLabelAndColumns
(String label, List<Column> columns) void
validLabelAndKeyAndValue
(String credentialLabel, String key, String value) void
validLogIdAndColumns
(String logId, Map<String, Object> columns) void
validLogIdAndColumnsArray
(String logId, Object[][] columns) void
validLogIdAndDays
(String logId, Integer days) void
void
validTaskId
(String taskId) void
validTaskIdAndArtifNameAndArtifFile
(String taskId, String artifactName, File artifactFile) void
validTaskIdAndException
(Integer taskId, Exception exception) void
validTaskIdAndFinishStatus
(String taskId, AutomationTask.FinishStatus finishStatus) void
validTaskIdAndTitleAndMsgAnsType
(String taskId, String title, String message, AlertType alertType)
-
Constructor Details
-
ValidateUtil
public ValidateUtil()
-
-
Method Details
-
validTaskId
-
validTaskIdAndFinishStatus
-
validPage
-
validLabel
-
validLogIdAndColumns
-
validLogIdAndColumnsArray
-
validLogIdAndDays
-
validLabelAndColumns
-
validTaskIdAndArtifNameAndArtifFile
-
validArtifactId
-
validTaskIdAndTitleAndMsgAnsType
-
validEmailAndSubjectAndBodyAndType
public void validEmailAndSubjectAndBodyAndType(List<String> email, String subject, String body, MessageType type) -
validLabelAndKeyAndValue
-
validTaskIdAndException
-