Package hudson.plugins.sonar.utils
Class ExtendedArgumentListBuilder
java.lang.Object
hudson.plugins.sonar.utils.ExtendedArgumentListBuilder
- Since:
- 1.3.1
- Author:
- Evgeny Mandrikov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Appends specified argument with proper quoting under unix and other OSes.void
Appends specified key/value pair, if value not empty.void
appendMasked
(String key, String value) Appends specified key/value pair with mask, if value not empty.boolean
isUnix()
-
Constructor Details
-
ExtendedArgumentListBuilder
-
-
Method Details
-
append
Appends specified key/value pair, if value not empty. Also value will be trimmed (see MNG-3529).- Parameters:
key
- keyvalue
- value- See Also:
-
appendMasked
Appends specified key/value pair with mask, if value not empty. Also value will be trimmed (see MNG-3529).- Parameters:
key
- keyvalue
- value- See Also:
-
append
Appends specified argument with proper quoting under unix and other OSes.- Parameters:
arg
- argument- See Also:
-
isUnix
public boolean isUnix()
-