public class OptInputParameterInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OptInputParameterInfo.Type
Type of the optional input
|
Constructor and Description |
---|
OptInputParameterInfo()
Creates descriptor without setting any field
|
OptInputParameterInfo(String name,
OptInputParameterInfo.Type type,
OptInputDescription description)
Creates descriptor and sets all the fields
|
Modifier and Type | Method and Description |
---|---|
OptInputDescription |
getDescription()
Returns object that describes possible values of the optional input
|
String |
getName()
Returns name of the optional input
|
OptInputParameterInfo.Type |
getType()
Returns type of the optional input
|
void |
setDescription(OptInputDescription description)
Sets object that describes possible values of the optional input
|
void |
setName(String name)
Sets name of the optional input
|
void |
setType(OptInputParameterInfo.Type type)
Sets type of the optional input
|
public OptInputParameterInfo()
public OptInputParameterInfo(String name, OptInputParameterInfo.Type type, OptInputDescription description)
name
- name of the optional inputtype
- type of the optional inputdescription
- object that describes possible values of the optional inputIntegerListDescription
,
IntegerRangeDescription
,
DoubleListDescription
,
DoubleRangeDescription
public String getName()
public void setName(String name)
name
- name of the optional inputpublic OptInputParameterInfo.Type getType()
public void setType(OptInputParameterInfo.Type type)
type
- type of the optional inputpublic OptInputDescription getDescription()
public void setDescription(OptInputDescription description)
description
- object that describes possible values of the optional inputCopyright © 2016. All rights reserved.