Class Option
- java.lang.Object
-
- org.jenkinsci.plugins.radargun.model.Option
-
public class Option extends Object
Represents a switch in RG shell scripts. Used in classes which describe these script, e.g.MainScriptConfig
orWorkerScriptConfig
.- Author:
- vjuranek
-
-
Field Summary
Fields Modifier and Type Field Description static String
MULTI_VALUE_SEPARATOR
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getCmdOption(RgScriptConfig cfg)
String
getGetterName()
String
getOptionSwitch()
boolean
hasOptionValue()
boolean
isMultiValue()
-
-
-
Field Detail
-
MULTI_VALUE_SEPARATOR
public static final String MULTI_VALUE_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOptionSwitch
public String getOptionSwitch()
-
getGetterName
public String getGetterName()
-
hasOptionValue
public boolean hasOptionValue()
-
isMultiValue
public boolean isMultiValue()
-
getCmdOption
public List<String> getCmdOption(RgScriptConfig cfg) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-