public final class PerfSigUIUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkNotEmptyAndIsNumber(String number) |
static boolean |
checkNotNullOrEmpty(String string) |
static String |
encodeString(String value) |
static String |
generateTitle(String measure,
String chartDashlet,
String aggregation) |
static List<hudson.FilePath> |
getDownloadFiles(String testCase,
hudson.model.Run<?,?> build) |
static String |
getDurationString(float seconds) |
static jenkins.model.Jenkins |
getInstance()
gets removed if jenkins version hits 1.653
|
static hudson.FilePath |
getReportDirectory(hudson.model.Run<?,?> run) |
static void |
handleIncidents(hudson.model.Run<?,?> run,
List<IncidentChart> incidents,
PrintStream logger,
int nonFunctionalFailure) |
static String |
removeExtension(String fileName) |
static BigDecimal |
round(double d,
int scale) |
static List<ChartDashlet> |
sortChartDashletList(List<ChartDashlet> list) |
public static BigDecimal round(double d, int scale)
public static hudson.FilePath getReportDirectory(hudson.model.Run<?,?> run)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic static List<hudson.FilePath> getDownloadFiles(String testCase, hudson.model.Run<?,?> build) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static String generateTitle(String measure, String chartDashlet, String aggregation)
public static List<ChartDashlet> sortChartDashletList(List<ChartDashlet> list)
public static String getDurationString(float seconds)
@Nonnull public static jenkins.model.Jenkins getInstance() throws IllegalStateException
IllegalStateExceptionpublic static void handleIncidents(hudson.model.Run<?,?> run,
List<IncidentChart> incidents,
PrintStream logger,
int nonFunctionalFailure)
public static boolean checkNotNullOrEmpty(String string)
public static boolean checkNotEmptyAndIsNumber(String number)
Copyright © 2016–2017. All rights reserved.