|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.cougaar.util.GenericStateModelAdapter
org.cougaar.core.blackboard.BlackboardClientComponent
org.cougaar.core.plugin.ComponentPlugin
com.cougaarsoftware.common.plugin.AdvancedComponentPlugin
Support variables and functions for the Cougaar Software Collaborative Supply Chain Management family of applications. This helps ensure consistent verb definition and referencing.
| Nested Class Summary |
| Nested classes inherited from class org.cougaar.core.blackboard.BlackboardClient |
org.cougaar.core.blackboard.BlackboardClient.Local |
| Field Summary |
| Fields inherited from interface org.cougaar.core.plugin.PluginBase |
INSERTION_POINT |
| Fields inherited from interface org.cougaar.util.GenericStateModel |
ACTIVE, IDLE, LOADED, UNINITIALIZED, UNLOADED |
| Fields inherited from interface org.cougaar.core.blackboard.BlackboardClient |
current |
| Constructor Summary | |
AdvancedComponentPlugin()
Creates new AdvancedComponentPlugIn |
|
| Method Summary | |
static java.util.Date |
createDate(int year,
int month,
int day)
|
org.cougaar.core.service.AgentContainmentService |
getAgentContainmentService()
Get AgentContainmentService |
org.cougaar.core.service.community.CommunityService |
getCommunityService()
Get a reference to the community service |
org.cougaar.core.service.DomainService |
getDomainService()
Get DomainService |
long |
getEndTime(org.cougaar.planning.ldm.plan.Task t)
Get the END_TIME preference for the task |
org.cougaar.core.service.LoggingService |
getLoggingService()
Get LoggingService |
org.cougaar.core.service.NamingService |
getNamingService()
get NamingService |
org.cougaar.core.node.NodeIdentificationService |
getNodeIdentificationService()
Get Node Identification Service at load time |
org.cougaar.planning.ldm.plan.Preference |
getPreference(org.cougaar.planning.ldm.plan.Task task,
int aspect_type)
Return the preference for the given aspect |
org.cougaar.planning.ldm.plan.PrepositionalPhrase |
getPreposition(org.cougaar.planning.ldm.plan.Task task,
java.lang.String phrase)
Return the preference for the given aspect |
java.lang.String |
getPrepositionValue(org.cougaar.planning.ldm.plan.Task task,
java.lang.String phrase)
Conveinence method to get the IndirectObject from the task for the named PrepositionalPhrase |
org.cougaar.planning.service.PrototypeRegistryService |
getPrototypeRegistryService()
get PrototypeRegistryService |
long |
getStartTime(org.cougaar.planning.ldm.plan.Task t)
Get the START_TIME preference for the task |
org.cougaar.core.service.UIDService |
getUIDService()
Get UIDService |
boolean |
joinCommunity(java.lang.String community)
Helper method to join the specified community. |
boolean |
leaveCommunity(java.lang.String community)
Helper method to leave the specified community. |
void |
load()
Load the plugin an setup logging. |
void |
setAgentContainmentService(org.cougaar.core.service.AgentContainmentService service)
Set AgentContainmentService at load time |
void |
setCommunityService(org.cougaar.core.service.community.CommunityService service)
Set community service at load time |
void |
setDomainService(org.cougaar.core.service.DomainService service)
set DomainService at load time |
void |
setLoggingService(org.cougaar.core.service.LoggingService service)
Set LoggingService at load time |
void |
setNamingService(org.cougaar.core.service.NamingService service)
set NamingService at load time |
void |
setNodeIdentificationService(org.cougaar.core.node.NodeIdentificationService service)
Get node identification service at load time |
void |
setPrototypeRegistryService(org.cougaar.planning.service.PrototypeRegistryService service)
set PrototypeRegistryService at load time |
void |
setTimePreferences(org.cougaar.planning.ldm.plan.NewTask new_task,
long duration,
long deadline)
Conveinence method to setup end and duration time preferences with strict scoring functions. |
void |
setTimePreferences(org.cougaar.planning.ldm.plan.NewTask new_task,
long start,
long duration,
long deadline)
Conveinence method to setup start, end, and duration time preferences with strict scoring functions. |
void |
setUIDService(org.cougaar.core.service.UIDService service)
set UIDService at load time |
void |
unload()
Release all services |
| Methods inherited from class org.cougaar.core.blackboard.BlackboardClientComponent |
currentTimeMillis, getBlackboardClientName, getParameter, getParameters, halt, initialize, resume, setAgentIdentificationService, setAlarmService, setBindingSite, setBlackboardService, setParameter, setSchedulerService, start, stop, suspend, toString |
| Methods inherited from class org.cougaar.util.GenericStateModelAdapter |
getModelState |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.cougaar.util.GenericStateModel |
getModelState, halt, initialize, resume, start, stop, suspend |
| Constructor Detail |
public AdvancedComponentPlugin()
| Method Detail |
public void setUIDService(org.cougaar.core.service.UIDService service)
service - UIDServicepublic org.cougaar.core.service.UIDService getUIDService()
public void setPrototypeRegistryService(org.cougaar.planning.service.PrototypeRegistryService service)
service - PrototypeRegistryServicepublic org.cougaar.planning.service.PrototypeRegistryService getPrototypeRegistryService()
public void setDomainService(org.cougaar.core.service.DomainService service)
service - DomainServicepublic org.cougaar.core.service.DomainService getDomainService()
public void setNamingService(org.cougaar.core.service.NamingService service)
service - NamingServicepublic org.cougaar.core.service.NamingService getNamingService()
public void setLoggingService(org.cougaar.core.service.LoggingService service)
service - LoggingServicepublic org.cougaar.core.service.LoggingService getLoggingService()
public org.cougaar.core.service.community.CommunityService getCommunityService()
public void setCommunityService(org.cougaar.core.service.community.CommunityService service)
service - CommunityServicepublic void setNodeIdentificationService(org.cougaar.core.node.NodeIdentificationService service)
service - NodeIdentificationServicepublic org.cougaar.core.node.NodeIdentificationService getNodeIdentificationService()
public void setAgentContainmentService(org.cougaar.core.service.AgentContainmentService service)
service - AgentContainmentServicepublic org.cougaar.core.service.AgentContainmentService getAgentContainmentService()
public void unload()
public long getEndTime(org.cougaar.planning.ldm.plan.Task t)
t - the task
public long getStartTime(org.cougaar.planning.ldm.plan.Task t)
t - the task
public org.cougaar.planning.ldm.plan.Preference getPreference(org.cougaar.planning.ldm.plan.Task task,
int aspect_type)
task - for which to return given preferenceaspect_type - aspect type
public org.cougaar.planning.ldm.plan.PrepositionalPhrase getPreposition(org.cougaar.planning.ldm.plan.Task task,
java.lang.String phrase)
task - for which to return given preferencephrase - aspect type
public java.lang.String getPrepositionValue(org.cougaar.planning.ldm.plan.Task task,
java.lang.String phrase)
task - the taskphrase - the phrase of the PrepositionalPhrase
public void setTimePreferences(org.cougaar.planning.ldm.plan.NewTask new_task,
long start,
long duration,
long deadline)
new_task - the task to attach the preferences tostart - the start time in millisecondsduration - the duration in millisecondsdeadline - the end time in milliseconds
java.lang.IllegalArgumentException - throw if start > deadline or duration >
(deadline - start)
public void setTimePreferences(org.cougaar.planning.ldm.plan.NewTask new_task,
long duration,
long deadline)
new_task - the task to attach the preferences toduration - the duration in millisecondsdeadline - the end time in milliseconds
public static java.util.Date createDate(int year,
int month,
int day)
public void load()
public boolean joinCommunity(java.lang.String community)
community - the community name
public boolean leaveCommunity(java.lang.String community)
community - the community name
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||