Package com.boomi.connector.testutil
Class SimpleGetRequest
- java.lang.Object
-
- com.boomi.connector.testutil.SimpleGetRequest
-
- All Implemented Interfaces:
GetRequest
,OperationRequest
public class SimpleGetRequest extends Object implements GetRequest
SimpleOperationRequest
for testingOperationType.GET
operations.
-
-
Constructor Summary
Constructors Constructor Description SimpleGetRequest(ObjectIdData objectId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExecutionId()
Get the id for the current process execution.ObjectIdData
getObjectId()
Returns the single non-null
tracked id of the object to be retrieved.String
getProcessId()
Retrieves the current process id.String
getTopLevelExecutionId()
Get the top level execution id for the current executionString
getTopLevelProcessId()
Retrieves the top level process id-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.boomi.connector.api.OperationRequest
getExecutionId, getProcessId, getTopLevelExecutionId, getTopLevelProcessId
-
-
-
-
Constructor Detail
-
SimpleGetRequest
public SimpleGetRequest(ObjectIdData objectId)
-
-
Method Detail
-
getObjectId
public ObjectIdData getObjectId()
Description copied from interface:GetRequest
Returns the single non-null
tracked id of the object to be retrieved.- Specified by:
getObjectId
in interfaceGetRequest
-
getProcessId
public String getProcessId()
Description copied from interface:OperationRequest
Retrieves the current process id. This may be a sub-execution and differ fromOperationRequest.getTopLevelProcessId()
- Specified by:
getProcessId
in interfaceOperationRequest
- Returns:
- the current process component id
-
getTopLevelProcessId
public String getTopLevelProcessId()
Description copied from interface:OperationRequest
Retrieves the top level process id- Specified by:
getTopLevelProcessId
in interfaceOperationRequest
- Returns:
- the top level process component id
-
getExecutionId
public String getExecutionId()
Description copied from interface:OperationRequest
Get the id for the current process execution. This may be a sub-execution and differ fromOperationRequest.getTopLevelExecutionId()
- Specified by:
getExecutionId
in interfaceOperationRequest
- Returns:
- the execution id
-
getTopLevelExecutionId
public String getTopLevelExecutionId()
Description copied from interface:OperationRequest
Get the top level execution id for the current execution- Specified by:
getTopLevelExecutionId
in interfaceOperationRequest
- Returns:
- the top level execution id
-
-