| java.lang.Object org.cougaar.logistics.plugin.policy.LogisticsPolicy
LogisticsPolicy | public LogisticsPolicy(Policy policy, MessageAddress source, Set target, String authority, String role)(Code) | | constructor
Parameters: policy - Policy for LogisticsPolicy to hold Parameters: source - MessageAddress of Organization which is sending the LogisticsPolicy Parameters: target - Set of MessageAddresses which the LogisticsPolicy to be delivered Parameters: authority - name of the originator of this LogisticsPolicy Parameters: role - Role to which the Policy should be propagated |
LogisticsPolicy | protected LogisticsPolicy(LogisticsPolicy other, MessageAddress src)(Code) | | constructor used by Factory
Parameters: other - LogisticsPolicy which prompted the creation of this new one Parameters: src - MessageAddress of sender of the LogisticsPolicy |
getAuthority | public String getAuthority()(Code) | | method to retrieve originator
|
getPolicy | public Policy getPolicy()(Code) | | method to get Policy from within the LogisticsPolicy
|
getRole | public String getRole()(Code) | | method to retrieve role to which this LogisticsPolicy is to be propagated
|
getTargetFactory | public TargetFactory getTargetFactory()(Code) | | method to retrieve instance of SimpleRelayFactory
|
getTargets | public Set getTargets()(Code) | | method to get Set of MessageAddresses of destinations for this LogisticsPolicy
|
getUID | public UID getUID()(Code) | | method to get UID
|
setSource | public void setSource(MessageAddress ma)(Code) | | method to set sender
Parameters: ma - MessageAddress of sender |
setTargets | public void setTargets(Set newTargets)(Code) | | method to set targets
Parameters: newTargets - Set of MessageAddresses to direct this LogisticsPolicy |
setUID | public void setUID(UID uid)(Code) | | method to set UID
Parameters: uid - new UID for the LogisticsPolicy |
updateContent | public int updateContent(Object content, Token token)(Code) | | returns Relay.NO_CHANGE
|
|
|