|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.processing.ProcessorMessage
public class ProcessorMessage
Wrapper for the record ID arrays used in interfaces of SimplePipelet and ProcessingService. Maybe, these interfaces should be changed to use this type instead of Id[] for consistency with SearchPipelet and SearchProcessingServices. For now this class can be used in WorkflowProcessors to enable more uniform handling of ProcessorMessages and SearchMessages.
| Constructor Summary | |
|---|---|
ProcessorMessage()
default constructor. |
|
ProcessorMessage(Id[] recordIds)
create instance from data. |
|
| Method Summary | |
|---|---|
Id[] |
getRecords()
|
boolean |
hasRecords()
|
void |
setRecords(java.util.Collection<Id> records)
set records array from a list. |
void |
setRecords(Id[] records)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessorMessage()
public ProcessorMessage(Id[] recordIds)
recordIds - the records to process.| Method Detail |
|---|
public Id[] getRecords()
public void setRecords(Id[] records)
records - the records to process.public void setRecords(java.util.Collection<Id> records)
records - record list.public boolean hasRecords()
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||