public class BuilderUtils extends Object
Constructor and Description |
---|
BuilderUtils() |
Modifier and Type | Method and Description |
---|---|
static com.xpandit.xray.model.Endpoint |
getGenericEndpointFromMultipartSuffix(String multipartEndpointSuffix)
Utility method to get the generic endpoint from the corresponding multipart endpoint.
|
static boolean |
isEnvVariableUndefined(String variable)
Utility method to check if the given parameter is an undefined environment variable
|
static boolean |
isGlobExpressionsSupported(com.xpandit.xray.model.Endpoint endpointValue)
Utility method to check if the endpoint supports glob expressions
|
static boolean |
isSupportedJobType(Class<? extends hudson.model.AbstractProject> jobType)
Utility method to check if the project type is supported by XrayJenkins plugin
|
public static boolean isSupportedJobType(Class<? extends hudson.model.AbstractProject> jobType)
jobType
- the project typetrue
if the project type is supported, false
otherwisepublic static boolean isGlobExpressionsSupported(com.xpandit.xray.model.Endpoint endpointValue)
endpointValue
- the endpoint valuetrue
if the endpoint supports glob expressions , false
otherwisepublic static com.xpandit.xray.model.Endpoint getGenericEndpointFromMultipartSuffix(String multipartEndpointSuffix)
multipartEndpointSuffix
- the corresponding multipart endpoint suffixpublic static boolean isEnvVariableUndefined(String variable)
variable
- the variabletrue
if is empty or the variable has no value false
otherwiseCopyright © 2016–2022. All rights reserved.