Package com.boomi.connector.testutil
Class SimpleUpdateRequest
- java.lang.Object
-
- com.boomi.connector.testutil.SimpleUpdateRequest
-
- All Implemented Interfaces:
OperationRequest,UpdateRequest,Iterable<ObjectData>
public class SimpleUpdateRequest extends Object implements UpdateRequest
SimpleOperationRequestfor testingOperationType.CREATE,OperationType.EXECUTE,OperationType.UPDATE, andOperationType.UPSERToperations.
-
-
Constructor Summary
Constructors Constructor Description SimpleUpdateRequest(Iterable<ObjectData> trackedData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExecutionId()Get the id for the current process execution.StringgetProcessId()Retrieves the current process id.StringgetTopLevelExecutionId()Get the top level execution id for the current executionStringgetTopLevelProcessId()Retrieves the top level process idIterator<ObjectData>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface com.boomi.connector.api.OperationRequest
getExecutionId, getProcessId, getTopLevelExecutionId, getTopLevelProcessId
-
-
-
-
Constructor Detail
-
SimpleUpdateRequest
public SimpleUpdateRequest(Iterable<ObjectData> trackedData)
-
-
Method Detail
-
iterator
public Iterator<ObjectData> iterator()
- Specified by:
iteratorin interfaceIterable<ObjectData>
-
getProcessId
public String getProcessId()
Description copied from interface:OperationRequestRetrieves the current process id. This may be a sub-execution and differ fromOperationRequest.getTopLevelProcessId()- Specified by:
getProcessIdin interfaceOperationRequest- Returns:
- the current process component id
-
getTopLevelProcessId
public String getTopLevelProcessId()
Description copied from interface:OperationRequestRetrieves the top level process id- Specified by:
getTopLevelProcessIdin interfaceOperationRequest- Returns:
- the top level process component id
-
getExecutionId
public String getExecutionId()
Description copied from interface:OperationRequestGet the id for the current process execution. This may be a sub-execution and differ fromOperationRequest.getTopLevelExecutionId()- Specified by:
getExecutionIdin interfaceOperationRequest- Returns:
- the execution id
-
getTopLevelExecutionId
public String getTopLevelExecutionId()
Description copied from interface:OperationRequestGet the top level execution id for the current execution- Specified by:
getTopLevelExecutionIdin interfaceOperationRequest- Returns:
- the top level execution id
-
-