public interface Argument
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTROL_UNIT_ARG
Defines an argument type - Control Unit.
|
static java.lang.String |
CONTROL_UNIT_FILTER_ARG
Defines an argument type - Control Unit Filter.
|
static java.lang.String |
DEVICE_ARG
Defines an argument type - Device.
|
static java.lang.String |
ENUMERATION_ARG
Defines an argument type - Enumeration.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Gets the description of the procedure argument.
|
int |
getIndex()
Gets the index of the procedure argument.
|
java.lang.String |
getType()
Gets the type of the argument.
|
java.lang.String[] |
getValues()
Gets the values if the type of the argument is
ENUMERATED_TYPE. |
void |
setDescription(java.lang.String description)
Sets user description of the argument.
|
void |
setType(java.lang.String type)
Sets the type of the argument.
|
void |
setValues(java.lang.String[] values)
Sets the values if the type of the argument is
ENUMERATED_TYPE. |
static final java.lang.String DEVICE_ARG
static final java.lang.String CONTROL_UNIT_ARG
static final java.lang.String CONTROL_UNIT_FILTER_ARG
static final java.lang.String ENUMERATION_ARG
java.lang.String getType()
throws ManagementException
String.ManagementException - if system error occurs.java.lang.String getDescription()
throws ManagementException
ManagementException - if system error occurs.int getIndex()
throws ManagementException
%1 argument in the procedure
text will be replaced with the value for this argument before the execution the method will return 1.
If this argument has never been set to a procedure, it has index 0.ManagementException - if system error occurs.void setDescription(java.lang.String description)
throws ManagementException
description - the new description of the argumentManagementException - if system error occurs.void setType(java.lang.String type)
throws ManagementException
ManagementException shall be thrown.type - the new type of the argumentManagementException - if system error occurs or the argument is not defined type.java.lang.String[] getValues()
throws ManagementException
ENUMERATED_TYPE. Otherwise
it will return null. If the type is mentioned above but there are no values for
the argument the method will return null too.ManagementException - if system error occurs.void setValues(java.lang.String[] values)
throws ManagementException
ENUMERATED_TYPE. Otherwise
it will set to null.values - all the values to be set for the ENUMERATED argumentManagementException - if system error occurs.Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.