public class ServiceContextImpl extends Object implements ServiceContext
CSV_READ_ONCE_LINES, EXT_SYNC_EVENT_TYPE, FAILED_UPLOADING_DEVICES, INCIDENT_ENDPOINT, INSTANCE, KEY_BOARD, KEY_CLIENTID, KEY_COLLECTION, KEY_CONDITION, KEY_CONFIG, KEY_CSV_READ_BYTE, KEY_CSV_READ_COMPLETE, KEY_CSV_READ_ONCE_LINES, KEY_CSV_START_LINE, KEY_DOMAIN, KEY_ERROR, KEY_FULL_UPDATE, KEY_GROUP_NAME, KEY_INCIDENT, KEY_INSTANCE, KEY_ISSUE_TYPE, KEY_JIRA_MAPPING, KEY_LAST_UPDATE, KEY_MAX_DOWNLOAD_LINES, KEY_MAX_GROUP_ITEMS, KEY_OUTPUT, KEY_PROJECT, KEY_PWD, KEY_RANGE, KEY_SRC, KEY_TYPE, KEY_URL, KEY_USER, KEY_XML, KEY_XSLT, LINK_DEVICES, MAX_DOWNLOAD_LINES, MAX_GROUP_ITEMS, RBA_PAYLOAD_NAME, RBA_SERVICE_NAME
Constructor and Description |
---|
ServiceContextImpl() |
Modifier and Type | Method and Description |
---|---|
<T> T |
getAttribute(String key)
Get the attribute value identified as the key.
|
InternalObject[] |
getInputParameters()
Get an array of input parameters.
|
ExternalObjectInfo[] |
getOutputParameters()
Get an array of output parameters
|
void |
setAttribute(String key,
Object value)
Set the attribute value identified as the key.
|
void |
setInputParameters(InternalObject[] parameters)
Set an array of input parameters.
|
void |
setOutputParameters(ExternalObjectInfo[] parameters)
Set an array of output parameters.
|
public void setAttribute(String key, Object value)
ServiceContext
setAttribute
in interface ServiceContext
key
- the key used to set the attribute valuevalue
- the attribute valuepublic <T> T getAttribute(String key)
ServiceContext
getAttribute
in interface ServiceContext
T
- Type of attribute value objectkey
- the key used to retrieve the attribute value.public void setInputParameters(InternalObject[] parameters)
ServiceContext
setInputParameters
in interface ServiceContext
parameters
- an array of InternalObject
objectsInternalObject
public InternalObject[] getInputParameters()
ServiceContext
getInputParameters
in interface ServiceContext
InternalObject
objectsInternalObject
public void setOutputParameters(ExternalObjectInfo[] parameters)
ServiceContext
setOutputParameters
in interface ServiceContext
parameters
- an array of ExternalObjectInfo
objects.ExternalObjectInfo
public ExternalObjectInfo[] getOutputParameters()
ServiceContext
getOutputParameters
in interface ServiceContext
ExternalObjectInfo
objectsExternalObjectInfo
Copyright © 2019. All rights reserved.