public interface ServerVariable extends Constructible, Extensible<ServerVariable>
Modifier and Type | Method and Description |
---|---|
ServerVariable |
addEnumeration(java.lang.String enumeration)
This method adds a string item to enumeration list of a ServerVariable instance and returns the instance.
|
default ServerVariable |
defaultValue(java.lang.String defaultValue)
The default value to use for substitution, and to send, if an alternate value is not supplied.
|
default ServerVariable |
description(java.lang.String description)
This method sets the description property of ServerVariable instance to the given description argument and returns the modeified instance.
|
default ServerVariable |
enumeration(java.util.List<java.lang.String> enumeration)
This method sets the enumeration property of ServerVariable instance to the given enumeration argument and returns the modified instance.
|
java.lang.String |
getDefaultValue()
The default value to use for substitution, and to send, if an alternate value is not supplied.
|
java.lang.String |
getDescription()
This method returns the description property of ServerVariable instance.
|
java.util.List<java.lang.String> |
getEnumeration()
This method returns the enumeration property of ServerVariable instance.
|
void |
removeEnumeration(java.lang.String enumeration)
This method removes a string item to enumeration list of a ServerVariable instance.
|
void |
setDefaultValue(java.lang.String defaultValue)
The default value to use for substitution, and to send, if an alternate value is not supplied.
|
void |
setDescription(java.lang.String description)
This method sets the description property of ServerVariable instance to the given description argument.
|
void |
setEnumeration(java.util.List<java.lang.String> enumeration)
This method sets the enumeration property of ServerVariable instance to the given enumeration argument.
|
addExtension, extensions, getExtensions, removeExtension, setExtensions
java.util.List<java.lang.String> getEnumeration()
This property represents an enumeration of string values to be used if the substitution options are from a limited set
void setEnumeration(java.util.List<java.lang.String> enumeration)
This property represents an enumeration of string values to be used if the substitution options are from a limited set
enumeration
- an list of string values to be used if the substitution options are from a limited setdefault ServerVariable enumeration(java.util.List<java.lang.String> enumeration)
This property represents an enum of string values to be used if the substitution options are from a limited set.
enumeration
- an list of string values to be used if the substitution options are from a limited setServerVariable addEnumeration(java.lang.String enumeration)
If the enumeration list is null, this method should create a new ArrayList and add the item.
enumeration
- an item to be added to enum listvoid removeEnumeration(java.lang.String enumeration)
enumeration
- an item to be removed to enum listjava.lang.String getDefaultValue()
This method returns the defaultValue property from ServerVariable instance.
void setDefaultValue(java.lang.String defaultValue)
This method sets the defaultValue property of ServerVariable instance to the given defaultValue argument.
defaultValue
- the value to use for substitution, and to send, if an alternate value is not supplieddefault ServerVariable defaultValue(java.lang.String defaultValue)
This method sets the defaultValue property of ServerVariable instance to the given defaultValue argument and returns the modified instance.
defaultValue
- the value to use for substitution, and to send, if an alternate value is not suppliedjava.lang.String getDescription()
void setDescription(java.lang.String description)
Description property is optional for server variable. CommonMark syntax can be used for rich text representation.
description
- a short description of the server variabledefault ServerVariable description(java.lang.String description)
Description property is optional for server variable. CommonMark syntax can be used for rich text representation.
description
- a short description of the server variable