| org.cougaar.planning.plugin.legacy.PluginAdapter org.cougaar.planning.plugin.legacy.SimplePlugin
All known Subclasses: org.cougaar.mlm.plugin.ldm.LDMEssentialPlugin, org.cougaar.mlm.plugin.sample.DetermineRequirementsAbsorberPlugin, org.cougaar.mlm.plugin.ldm.OPlanPlugin, org.cougaar.planning.plugin.deletion.TestDeletionPlugin, org.cougaar.logistics.plugin.manager.LoadIndicatorTestPlugin, org.cougaar.servicediscovery.plugin.LineagePlugin, org.cougaar.mlm.plugin.sample.TaskAssessorPlugin, org.cougaar.mlm.plugin.ldm.GetOplanPlugin, org.cougaar.glm.plugins.OplanObserverPlugin, org.cougaar.mlm.plugin.ldm.XMLPolicyPlugin, org.cougaar.mlm.plugin.sample.MCCAggregatorPlugin, org.cougaar.lib.plugin.UTILLdmXMLPlugin, org.cougaar.mlm.debug.ui.UIPlugin, org.cougaar.mlm.plugin.sample.MessageStatisticsPlugin, org.cougaar.lib.quo.performance.CommonUtilPlugin, org.cougaar.glm.plugins.multiplesuppliers.SourceExpander, org.cougaar.planning.examples.AlertCreatorPlugin, org.cougaar.mlm.plugin.sample.AdaptiveUniversalAllocatorPlugin, org.cougaar.mlm.plugin.assessor.ConsumptionAssessorPlugin, org.cougaar.mlm.plugin.organization.GLSAllocatorPlugin, org.cougaar.planning.examples.SimpleSinkAllocatorPlugin, org.cougaar.mlm.plugin.sample.StrategicTransportProjectionExpanderPlugin, org.cougaar.mlm.plugin.sample.MCCAllocatorPlugin, org.cougaar.mlm.plugin.sample.AlternateAllocationAssessorPlugin, org.cougaar.mlm.plugin.sample.AllocationAssessorPlugin, org.cougaar.mlm.plugin.sample.MCCTriggerCreatorPlugin, org.cougaar.mlm.plugin.sample.AddAssetsGUIPlugin, org.cougaar.mlm.plugin.strategictransport.SimpleMultilegExpanderPlugin, org.cougaar.mlm.examples.TriggerTesterPlugin, org.cougaar.mlm.plugin.sample.LoadAllocatorPlugin, org.cougaar.mlm.plugin.generic.GenericTablePlugin, org.cougaar.mlm.examples.ChangeReporter, org.cougaar.mlm.plugin.sample.PolicyPlugin, org.cougaar.mlm.plugin.sample.ModifyOrgActivityGUIPlugin, org.cougaar.mlm.plugin.assessor.SupportingUnitAssessorPlugin, org.cougaar.mlm.plugin.sample.ProvideEstimatesPlugin, org.cougaar.planning.plugin.asset.AssetDataPlugin, org.cougaar.glm.plugins.DecorationPlugin, org.cougaar.lib.quo.performance.ProgrammerLDMPlugin, org.cougaar.glm.packer.GenericPlugin, org.cougaar.mlm.examples.BulkEstimateTester, org.cougaar.planning.examples.ReportCreatorPlugin, org.cougaar.mlm.plugin.organization.GLSGUIBasePlugin, org.cougaar.mlm.plugin.organization.OrgRTDataPlugin, org.cougaar.mlm.plugin.strategictransport.StrategicTransportExpanderPlugin, org.cougaar.planning.examples.AssetCreationJdbcPlugin, org.cougaar.mlm.plugin.sample.UniversalAllocatorPlugin, org.cougaar.mlm.plugin.sample.MCCPredictorPlugin, org.cougaar.mlm.plugin.sample.CompletionAssessor, org.cougaar.mlm.construction.DTConstructionExpanderPlugin, org.cougaar.mlm.plugin.DMPIClusterStartup, org.cougaar.glm.plugins.multiplesuppliers.SourceAllocator, org.cougaar.mlm.plugin.strategictransport.TaskStrategicTransportAllocatorPlugin, org.cougaar.mlm.plugin.generic.PropagationPlugin, org.cougaar.mlm.plugin.organization.GLSMiniAllocatorPlugin, org.cougaar.mlm.plugin.perturbation.PerturbationPlugin, org.cougaar.mlm.plugin.strategictransport.TopsStubExpanderPlugin, org.cougaar.mlm.plugin.xml.XMLPrototypeProviderPlugin, org.cougaar.lib.plugin.UTILPlugin, org.cougaar.logistics.plugin.manager.SupplyLoadIndicatorTestPlugin, org.cougaar.mlm.examples.ClockTest, org.cougaar.lib.aggagent.test.EffortMonitor, org.cougaar.logistics.plugin.packer.GenericPlugin, org.cougaar.mlm.plugin.organization.OrgTPRTDataPlugin, org.cougaar.servicediscovery.plugin.MatchmakerStubPlugin, org.cougaar.glm.plugins.GLMPolicyPlugin, org.cougaar.mlm.plugin.sample.AlertReaderPlugin, org.cougaar.servicediscovery.plugin.SDProviderPlugin, org.cougaar.logistics.plugin.manager.LogisticsManagerPlugin, org.cougaar.mlm.plugin.strategictransport.StrategicTransportAllocatorPlugin, org.cougaar.mlm.plugin.sample.StrategicTransportProjectorPlugin, org.cougaar.mlm.plugin.sample.PredictorExpanderPlugin, org.cougaar.logistics.plugin.manager.TransportLoadIndicatorTestPlugin, org.cougaar.planning.plugin.completion.TestCompletionPlugin, org.cougaar.mlm.plugin.sample.StrategicTransportSourceGUIPlugin, org.cougaar.servicediscovery.plugin.SDClientPlugin,
SimplePlugin | abstract public class SimplePlugin extends PluginAdapter (Code) | | SimplePlugin is a replacement for SimplifiedPlugin and
SimplifiedFatPlugin.
Call setThreadingChoice(SINGLE_THREAD) in constructor or before this
load is invoked to get the equivalent of SimplifiedFatPlugin.
|
Method Summary | |
public AllocationResult | createEstimatedAllocationResult(Task t, double confidenceRating, boolean success) Returns an AllocationResult with specified and
based on the preferences of Task . | public void | createPublishExpansion(Task parent) Creates a subtask from with same Verb, PrepositionalPhrases,
DirectObject, Plan, Preferences, and Context as . | final protected void | cycle() Call execute in the right context. | abstract protected void | execute() Called inside of an open transaction whenever the plugin was
explicitly told to run or when there are changes to any of
our subscriptions. | final public void | initialize() | public void | load(Object object) | final protected void | prerun() call initialize within an open transaction. | final public void | resume() | protected void | setExecutionDelay(long minDelay, long maxDelay) | abstract protected void | setupSubscriptions() Called during initialization to set up subscriptions. | final public void | start() | final public void | stop() | final public void | suspend() |
createEstimatedAllocationResult | public AllocationResult createEstimatedAllocationResult(Task t, double confidenceRating, boolean success)(Code) | | Returns an AllocationResult with specified and
based on the preferences of Task . If has no preferences, returns
a null AllocationResult.
|
createPublishExpansion | public void createPublishExpansion(Task parent)(Code) | | Creates a subtask from with same Verb, PrepositionalPhrases,
DirectObject, Plan, Preferences, and Context as . Creates
an expansion containing the subtask with null estimated allocation
result. Publishes both subtask and expansion.
|
cycle | final protected void cycle()(Code) | | Call execute in the right context.
Note that this transaction boundary does NOT reset
any subscription changes.
See Also: SimplePlugin.execute() See Also: documentation for details |
execute | abstract protected void execute()(Code) | | Called inside of an open transaction whenever the plugin was
explicitly told to run or when there are changes to any of
our subscriptions.
|
prerun | final protected void prerun()(Code) | | call initialize within an open transaction. *
|
setExecutionDelay | protected void setExecutionDelay(long minDelay, long maxDelay)(Code) | | |
setupSubscriptions | abstract protected void setupSubscriptions()(Code) | | Called during initialization to set up subscriptions.
More precisely, called in the plugin's Thread of execution
inside of a transaction before execute will ever be called.
|
|
|