Description
This method is used to list the Generator names of a given Attribute.
Exceptions
The following GenRocket exceptions may be thrown by this method:
- If the requested attributeName is not found.
Runtime Method Signature
Use this method signature when directly accessing the GenRocket binary runtime.
public List<String> generators(String attributeName)
REST/Socket Payload Request
Use this API JSON request payload when making an API call to the GenRocket REST or Socket Engine.
{
"interfaceType": "Manual",
"methodName": "generators",
"parameters": {
"attributeName": ""
}
}REST/Socket Payload Successful Payload Response
The API JSON response payload returns the list of zero or more Generator names for the given Attribute.
{
"responseType": "OK",
"data": [
{
"generatorName": ""
},
{
"generatorName": ""
},
{
"generatorName": ""
}
]
}