public final class ViewerUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkNotEmptyAndIsNumber(String number) |
static boolean |
checkNotNullOrEmpty(String string) |
static com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials |
getCredentials(String credsId) |
static List<JenkinsServerConfiguration> |
getJenkinsConfigurations() |
static hudson.FilePath |
getReportDirectory(hudson.model.Run<?,?> run) |
static JenkinsServerConfiguration |
getServerConfiguration(String jenkinsServer) |
static hudson.util.ListBoxModel |
listToListBoxModel(List<?> arrayList) |
public static hudson.util.ListBoxModel listToListBoxModel(List<?> arrayList)
public static hudson.FilePath getReportDirectory(hudson.model.Run<?,?> run)
throws IOException
IOExceptionpublic static List<JenkinsServerConfiguration> getJenkinsConfigurations()
public static JenkinsServerConfiguration getServerConfiguration(String jenkinsServer)
public static com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials getCredentials(String credsId)
public static boolean checkNotNullOrEmpty(String string)
public static boolean checkNotEmptyAndIsNumber(String number)
Copyright © 2016. All rights reserved.