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 class
Helper.QualysLogFormatter
-
Field Summary
Fields Modifier and Type Field Description static String
LAUNCH_SCAN_PATH
static Comparator<ListBoxModel.Option>
OptionItemmsComparator
static Map<String,Map<String,String>>
platformsList
static String
SCAN_RESULT_PATH
static String
SCAN_STATUS_PATH
static String
TEST_CONNECTION_PATH
static String
WEBAPP_DETAILS_PATH
-
Constructor Summary
Constructors Constructor Description Helper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copyEvaluationResultToFile(String rootDir, String filename, PrintStream buildLogger, com.google.gson.JsonObject evalresult)
static void
createNewFile(String rootDir, String filename, String content, PrintStream buildLogger)
static Logger
getLogger(String loggerName)
static String
secondsToReadableTime(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
-
-