![]() |
FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Get the decision from Monk bulk and apply decisions. More...


Public Member Functions | |
| __construct ($licenseMapUsage=null) | |
| processClearingEventOfCurrentJob () | |
| Process clearing events of current job handled by agent. | |
| processUploadId ($uploadId) | |
| Given an upload ID, process the items in it. More... | |
Public Member Functions inherited from Fossology\Lib\Agent\Agent | |
| __construct ($agentName, $version, $revision) | |
| scheduler_connect () | |
| Connect with scheduler and initialize options. More... | |
| heartbeat ($newProcessed) | |
| Send hear beat to the scheduler. More... | |
| bail ($exitvalue) | |
| Bail the agent, print the stack and disconnect from scheduler. More... | |
| scheduler_disconnect ($exitvalue) | |
| Closes connection from scheduler. More... | |
| scheduler_greet () | |
| Greet the scheduler at the beginning of connection. More... | |
| initArsTable () | |
| Initialize ARS table. | |
| run_scheduler_event_loop () | |
| Runs a loop to read commands from scheduler and process them. More... | |
Public Attributes | |
| const | FORCE_DECISION = 1 |
Protected Member Functions | |
| processClearingEventsForItem (ItemTreeBounds $itemTreeBounds, $userId, $groupId, $additionalEventsFromThisJob) | |
| Get an item, process events and create new decisions. More... | |
Protected Member Functions inherited from Fossology\Lib\Agent\Agent | |
| processUploadId ($uploadId) | |
| Given an upload ID, process the items in it. More... | |
Private Member Functions | |
| loopContainedItems ($itemTreeBounds) | |
| Get items contained inside an item tree. More... | |
Private Attributes | |
| $conflictStrategyId | |
| $uploadDao | |
| $clearingDecisionProcessor | |
| $agentLicenseEventProcessor | |
| $clearingDao | |
| $highlightDao | |
| $decisionIsGlobal = CLEARING_DECISION_IS_GLOBAL | |
| $decisionTypes | |
| $licenseMap = null | |
| $licenseMapUsage = null | |
Additional Inherited Members | |
Static Public Member Functions inherited from Fossology\Lib\Agent\Agent | |
| static | heartbeat_handler ($signo) |
| Function to handle hear beats from the agent and send them to the scheduler from STDOUT. More... | |
Protected Attributes inherited from Fossology\Lib\Agent\Agent | |
| $userId | |
| $groupId | |
| $jobId | |
| $agentSpecifOptions = "" | |
| $agentSpecifLongOptions = array() | |
| $args = array() | |
| $dbManager | |
| $agentDao | |
| $container | |
| $schedulerMode | |
Get the decision from Monk bulk and apply decisions.
Definition at line 64 of file DeciderJobAgent.php.
|
private |
Get items contained inside an item tree.
| ItemTreeBounds | $itemTreeBounds | Item tree to be looped |
Definition at line 147 of file DeciderJobAgent.php.
|
protected |
Get an item, process events and create new decisions.
| ItemTreeBounds | $itemTreeBounds | |
| int | $userId | |
| int | $groupId | |
| array | $additionalEventsFromThisJob |
Definition at line 192 of file DeciderJobAgent.php.
| Fossology\DeciderJob\DeciderJobAgent::processUploadId | ( | $uploadId | ) |
Given an upload ID, process the items in it.
This function is implemented by agent and should call heartbeat() at regular intervals.
| int | $uploadId | Upload to be processed by the agent. |
Definition at line 165 of file DeciderJobAgent.php.
|
private |
AgentLicenseEventProcessor to be used
Definition at line 83 of file DeciderJobAgent.php.
|
private |
ClearingDao object
Definition at line 87 of file DeciderJobAgent.php.
|
private |
ClearingDecisionProcessor to be used
Definition at line 79 of file DeciderJobAgent.php.
|
private |
Conflict resolution strategy to be used (0=>unhandled events,1=>force)
Definition at line 71 of file DeciderJobAgent.php.
|
private |
If the decision is global
Definition at line 95 of file DeciderJobAgent.php.
|
private |
DecisionTypes object
Definition at line 99 of file DeciderJobAgent.php.
|
private |
HighlightDao object
Definition at line 91 of file DeciderJobAgent.php.
|
private |
LicenseMap object
Definition at line 103 of file DeciderJobAgent.php.
|
private |
Definition at line 107 of file DeciderJobAgent.php.
|
private |
UploadDao object
Definition at line 75 of file DeciderJobAgent.php.