org.sandev.TaskHeap.ExternalSync
Class ExternalSyncNodeDecl

java.lang.Object
  extended byorg.sandev.TaskHeap.ExternalSync.ExternalSyncNodeDecl
Direct Known Subclasses:
ExternalSyncNodeBase, ExternalSyncNodeInstance

public class ExternalSyncNodeDecl
extends java.lang.Object

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:


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

externalPlanSuccess

protected java.lang.String externalPlanSuccess
Text used for the lastModifiedReason when retrieval of external plan data was successful.

declared default value: "Information retrieved successfully."
Length in characters, normal: 60 max: 255

externalPlanFailure

protected java.lang.String externalPlanFailure
Text used for the lastModifiedReason when retrieval of external plan data fails.

declared default value: "Information retrieval failed: $ERROR"
Length in characters, normal: 60 max: 255

httpAgentID

protected java.lang.String httpAgentID
How we identify ourselves to other http servers when we connect.

declared default value: "$PRE ExternalSyncNode"
Length in characters, normal: 30 max: 80
Constructor Detail

ExternalSyncNodeDecl

public ExternalSyncNodeDecl()