public final class UtilityFunctions extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
humanReadableCommandLineOutput(List<String> arguments)
Build a human readable command line from the arguments set by the plugin
|
static Boolean |
isNotSet(File value)
Utility function to check if File is defined and not empty
|
static Boolean |
isNotSet(Map<?,?> value)
Utility function to check if a Map is defined and not empty
|
static Boolean |
isNotSet(String value)
Utility function to check if a String is defined and not empty
|
static Boolean |
isSet(String value)
Utility function to check if a String is defined and not empty
|
static String |
stripCarriageReturns(String value)
Utility function to strip carriage returns out of a String
|
public static String humanReadableCommandLineOutput(List<String> arguments)
arguments - Array of Stringpublic static String stripCarriageReturns(String value)
value - Stringpublic static Boolean isNotSet(Map<?,?> value)
value - Mappublic static Boolean isNotSet(String value)
value - Stringpublic static Boolean isSet(String value)
value - StringCopyright © 2018–2019. All rights reserved.