Package com.boomi.connector.testutil
Class SimpleDeleteRequest
- java.lang.Object
-
- com.boomi.connector.testutil.SimpleDeleteRequest
-
- All Implemented Interfaces:
DeleteRequest
,OperationRequest
,Iterable<ObjectIdData>
public class SimpleDeleteRequest extends Object implements DeleteRequest
SimpleOperationRequest
for testingOperationType.DELETE
operations.
-
-
Constructor Summary
Constructors Constructor Description SimpleDeleteRequest(Iterable<ObjectIdData> trackedData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExecutionId()
Get the id for the current process execution.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 idIterator<ObjectIdData>
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
-
SimpleDeleteRequest
public SimpleDeleteRequest(Iterable<ObjectIdData> trackedData)
-
-
Method Detail
-
iterator
public Iterator<ObjectIdData> iterator()
- Specified by:
iterator
in interfaceIterable<ObjectIdData>
-
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
-
-