| Constructor and Description |
|---|
USGaapDEI2008EntityRegistrantName() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDoTheWork(java.lang.Object parameter)
returns true if the worker can perform its work with the supplied parameters.
|
java.lang.Object |
doTheWork(java.lang.Object parameter)
returns the value that is the result of the work operation.
|
float |
getPriority()
Serves for organizing the workers in the queue so the workers with higher priority are
asked to do the work first.
|
java.lang.String[] |
getRoles()
Return the roles for which this worker is able to produce work.
|
public boolean canDoTheWork(java.lang.Object parameter)
WorkercanDoTheWork in interface Workerparameter - Object. the worker should check if the parameter is of the appropriate typepublic java.lang.Object doTheWork(java.lang.Object parameter)
Workerpublic float getPriority()
WorkergetPriority in interface WorkerCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa