|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.TaskHeap.ExternalSync.ExternalSyncNodeDecl
Synchronize the time estimate of an external plan from the source plan. This includes fetching the estimated hours from the external project on demand, and subscribing to change notifications from an external project in the future.
Fetching the estimated hours on demand is done by parsing the information in the posted TaskHeapData.html report. In the future this could also be done by logging into the remote project as a Reader or Resource.
Retrieving the TaskHeapData.html file contents is a good job for something like the Apache HttpClient, but we have a goal of not relying on anything outside the JDK if at all possible, so that our SAND can be used freely without version conflicts or other issues. So the fetch is being done the long way.
inbound synchronous message calls:
Ping onReceive(Ping msg)ExternalPlanSync onReceive(ExternalPlanSync msg)| Field Summary | |
protected java.lang.String |
externalPlanFailure
Text used for the lastModifiedReason when retrieval of external plan data fails. |
protected java.lang.String |
externalPlanSuccess
Text used for the lastModifiedReason when retrieval of external plan data was successful. |
protected java.lang.String |
httpAgentID
How we identify ourselves to other http servers when we connect. |
| Constructor Summary | |
ExternalSyncNodeDecl()
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String externalPlanSuccess
protected java.lang.String externalPlanFailure
protected java.lang.String httpAgentID
| Constructor Detail |
public ExternalSyncNodeDecl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||