| java.lang.Object org.cougaar.glm.execution.eg.POLSpecialPlugin
POLSpecialPlugin | public class POLSpecialPlugin implements FailureConsumptionPlugin,TimeConstants(Code) | | Example F/C plugin illustrating how one might write a plugin that
applies to a certain class of supply and how to use the GUI
configuration features. Consult the default plugin for more mundane
matters.
|
getHashAsString | public String getHashAsString(Hashtable h)(Code) | | Returns the string representation of a Hashtable in the form:
[(1,2,3):(500,500,2.3);(4,5,6):(1000, 1000, 5.66)]
where (1,2,3) and (4,5,6) are the keys
and (500,500,2.3) and (1000, 1000, 5.66) are the values
|
getPluginName | public String getPluginName()(Code) | | the name of this plugin |
isConfigurable | public boolean isConfigurable()(Code) | | |
parseHashString | public Hashtable parseHashString(String hs)(Code) | | Parses a string representation of a Hashtable and
returns the resulting Hashtable.
Ex: [(1,2,3):(500,500,2.3);(4,5,6):(1000,1000,5.66)]
|
setParameter | public void setParameter(String parameter)(Code) | | |
|
|