Class Helper
java.lang.Object
com.qualys.plugins.wasPlugin.util.Helper
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringstatic Comparator<ListBoxModel.Option>static Stringstatic Stringstatic Stringstatic String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildMaskedLabel(String idPart, String maskedSecret, String description, String id) static voidcopyEvaluationResultToFile(String rootDir, String filename, PrintStream buildLogger, com.google.gson.JsonObject evalresult) static voidcreateNewFile(String rootDir, String filename, String content, PrintStream buildLogger) static StringgetGatewayUrl(String apiServerUrl) static Loggerstatic Stringstatic StringsecondsToReadableTime(long duration)
-
Field Details
-
TEST_CONNECTION_PATH
-
LAUNCH_SCAN_PATH
-
WEBAPP_DETAILS_PATH
-
SCAN_STATUS_PATH
-
SCAN_RESULT_PATH
-
platformsList
-
OptionItemmsComparator
-
-
Constructor Details
-
Helper
public Helper()
-
-
Method Details
-
secondsToReadableTime
-
getLogger
-
createNewFile
public static void createNewFile(String rootDir, String filename, String content, PrintStream buildLogger) -
copyEvaluationResultToFile
public static void copyEvaluationResultToFile(String rootDir, String filename, PrintStream buildLogger, com.google.gson.JsonObject evalresult) throws IOException - Throws:
IOException
-
getGatewayUrl
- Throws:
IllegalArgumentException
-
buildMaskedLabel
-
safe
-