| java.lang.Object org.cougaar.glm.execution.eg.TripletFCPlugin
All known Subclasses: org.cougaar.glm.execution.eg.TwentyFourBySevenPlugin, org.cougaar.glm.execution.eg.POL2Plugin,
TripletFCPlugin | abstract public class TripletFCPlugin 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.
|
Inner Class :protected interface TripletValue | |
Method Summary | |
protected static void | addItem(JPanel message, int x, int y, JComponent c) | protected static void | addItem(JPanel message, int y, JComponent c) | protected void | checkExecutionTime(long executionTime) | public void | configure(java.awt.Component c) | public FailureConsumptionPluginItem | createFailureConsumptionItem(FailureConsumptionRate aRate, FailureConsumptionSegment aSegment, long theExecutionTime, FailureConsumptionPluginItem aFailureConsumptionPluginItem) Create a FailureConsumptionItem for this plugin to handle a
particular FailureConsumptionRate. | protected JPanel | createMessage() | abstract protected TripletValue | createTripletValue(String[] args) | abstract public String | getDescription() | abstract public String | getPluginName() | abstract protected Object[] | getTripletDefaultValues() | abstract protected Class[] | getTripletValueClasses() | abstract protected String[] | getTripletValueNames() | public boolean | isConfigurable() | public void | restore(Properties props, String prefix) | public void | save(Properties props, String prefix) | protected boolean | saveTriplet() | public void | setEventGenerator(EventGenerator eg) | abstract public void | setParameter(String parameter) |
BUTTON_ROW | final protected static int BUTTON_ROW(Code) | | |
COMMENT_ROW | final protected static int COMMENT_ROW(Code) | | |
MAX_INTERVAL | protected long MAX_INTERVAL(Code) | | |
MIN_INTERVAL | protected long MIN_INTERVAL(Code) | | |
consumableIdToName | protected static Map consumableIdToName(Code) | | |
consumableNameToId | protected static Map consumableNameToId(Code) | | |
consumerIdToName | protected static Map consumerIdToName(Code) | | |
consumerNameToId | protected static Map consumerNameToId(Code) | | |
TripletFCPlugin | protected TripletFCPlugin()(Code) | | |
checkExecutionTime | protected void checkExecutionTime(long executionTime)(Code) | | |
createTripletValue | abstract protected TripletValue createTripletValue(String[] args)(Code) | | |
getPluginName | abstract public String getPluginName()(Code) | | the name of this plugin |
getTripletDefaultValues | abstract protected Object[] getTripletDefaultValues()(Code) | | |
getTripletValueClasses | abstract protected Class[] getTripletValueClasses()(Code) | | |
getTripletValueNames | abstract protected String[] getTripletValueNames()(Code) | | |
isConfigurable | public boolean isConfigurable()(Code) | | |
saveTriplet | protected boolean saveTriplet()(Code) | | |
setParameter | abstract public void setParameter(String parameter)(Code) | | |
|
|