# Class: com.pnfsoftware.jeb.util.interpreter.CommandParameter

Definition of a command's parameter. Each parameter can have a small description and be defined as prefixed or not: for example "\-r" is a prefix with no name, "\-t threadId" is a prefix with name and "thread" is a name without prefix.

## Constructor: CommandParameter
- parameter: `name`, type: `java.lang.String`


## Constructor: CommandParameter
- parameter: `name`, type: `java.lang.String`
- parameter: `optional`, type: `boolean`


## Constructor: CommandParameter
- parameter: `name`, type: `java.lang.String`
- parameter: `help`, type: `java.lang.String`
- parameter: `optional`, type: `boolean`


## Constructor: CommandParameter
- parameter: `prefix`, type: `java.lang.String`
- parameter: `name`, type: `java.lang.String`
- parameter: `help`, type: `java.lang.String`
- parameter: `optional`, type: `boolean`


## Constructor: CommandParameter
- parameter: `name`, type: `java.lang.String`
- parameter: `help`, type: `java.lang.String`
- parameter: `optional`, type: `boolean`
- parameter: `allowMultipleTokens`, type: `boolean`


## Constructor: CommandParameter
- parameter: `name`, type: `java.lang.String`
- parameter: `help`, type: `java.lang.String`
- parameter: `optional`, type: `boolean`
- parameter: `allowMultipleTokens`, type: `boolean`
- parameter: `autocompleteProvider`, type: `com.pnfsoftware.jeb.util.interpreter.IAutocompleteListProvider`


## Method: allowMultipleTokens
- return type: `boolean`


## Method: getAutocompleteProvider
- return type: `com.pnfsoftware.jeb.util.interpreter.IAutocompleteListProvider`


## Method: getHelp
- return type: `java.lang.String`

Description: Help text

## Method: getName
- return type: `java.lang.String`

Description: Name of the parameter. Can be empty only if parameter is a meaningful standalone prefix \("\-r" for recursive for example\)

## Method: getPrefix
- return type: `java.lang.String`

Description: Short prefix \(one letter by preference\)

## Method: hasPrefix
- return type: `boolean`


## Method: isOptional
- return type: `boolean`

Description: Whether parameter is optional or mandatory.

