| org.cougaar.planning.ldm.plan.PlanElementImpl org.cougaar.planning.ldm.plan.AllocationImpl
AllocationImpl | public AllocationImpl()(Code) | | |
addingToBlackboard | public void addingToBlackboard(Subscriber s, boolean commit)(Code) | | |
changingInBlackboard | public void changingInBlackboard(Subscriber s, boolean commit)(Code) | | |
checkConflicts | public boolean checkConflicts()(Code) | | |
getAllocationTaskUID | public UID getAllocationTaskUID()(Code) | | |
getAsset | public Asset getAsset()(Code) | | Asset - Asset associated with this allocation/subtask |
getRole | public Role getRole()(Code) | | Return the Role that the Asset is performing while executing this PlanElement (Task).
Role |
isAllocationTaskDeleted | public boolean isAllocationTaskDeleted()(Code) | | |
isAssetAvailabilityConflict | public boolean isAssetAvailabilityConflict()(Code) | | Checks to see if there is a potential conflict with the asset's
available schedule. ( Asset.getRoleSchedule().getAvailableSchedule() )
Will return true if there is a potential conflict.
boolean |
isPotentialConflict | public boolean isPotentialConflict()(Code) | | boolean - true if there is a potential conflict with another allocation to the same asset. |
isStale | public boolean isStale()(Code) | | Check to see if this allocation is Stale and needs to be revisited.
Will return true if it is stale (needs to be revisted)
boolean |
postRehydration | public void postRehydration(Logger logger)(Code) | | |
removingFromBlackboard | public void removingFromBlackboard(Subscriber s, boolean commit)(Code) | | |
setAllocationTask | public void setAllocationTask(Task t)(Code) | | |
setAllocationTaskDeleted | public void setAllocationTaskDeleted(boolean newDeleted)(Code) | | |
setAllocationTaskUID | public void setAllocationTaskUID(UID uid)(Code) | | |
setAssetAvailabilityConflict | public void setAssetAvailabilityConflict(boolean availconflict)(Code) | | |
setCheckConflicts | public void setCheckConflicts(boolean check)(Code) | | |
setEstimatedResult | public void setEstimatedResult(AllocationResult estimatedresult)(Code) | | Set the estimated allocation result so that a notification will
propagate up another level.
Parameters: estimatedresult - |
setPotentialConflict | public void setPotentialConflict(boolean conflict)(Code) | | |
setStale | public void setStale(boolean stalestate)(Code) | | Set the stale flag. Usualy used by Trigger actions.
Parameters: stalestate - |
|
|