Class Helper
- java.lang.Object
-
- com.qualys.plugins.wasPlugin.util.Helper
-
public class Helper extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHelper.QualysLogFormatter
-
Field Summary
Fields Modifier and Type Field Description static StringLAUNCH_SCAN_PATHstatic Comparator<ListBoxModel.Option>OptionItemmsComparatorstatic Map<String,Map<String,String>>platformsListstatic StringSCAN_RESULT_PATHstatic StringSCAN_STATUS_PATHstatic StringTEST_CONNECTION_PATHstatic StringWEBAPP_DETAILS_PATH
-
Constructor Summary
Constructors Constructor Description Helper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcopyEvaluationResultToFile(String rootDir, String filename, PrintStream buildLogger, com.google.gson.JsonObject evalresult)static voidcreateNewFile(String rootDir, String filename, String content, PrintStream buildLogger)static LoggergetLogger(String loggerName)static StringsecondsToReadableTime(long duration)
-
-
-
Field Detail
-
TEST_CONNECTION_PATH
public static String TEST_CONNECTION_PATH
-
LAUNCH_SCAN_PATH
public static String LAUNCH_SCAN_PATH
-
WEBAPP_DETAILS_PATH
public static String WEBAPP_DETAILS_PATH
-
SCAN_STATUS_PATH
public static String SCAN_STATUS_PATH
-
SCAN_RESULT_PATH
public static String SCAN_RESULT_PATH
-
OptionItemmsComparator
public static Comparator<ListBoxModel.Option> OptionItemmsComparator
-
-
Method Detail
-
secondsToReadableTime
public static String secondsToReadableTime(long duration)
-
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
-
-