|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAnalysisRule
The interface used to implement analysis categories
| Method Summary | |
|---|---|
void |
addHistoryResultSet(java.lang.String historyId,
AbstractAnalysisResult result)
Deprecated. Add a new result to the history. |
void |
addParameter(AnalysisParameter parameter)
Deprecated. Add a new parameter to the rule |
void |
addParameters(java.util.List parameters)
Deprecated. Add a list of new rule parameters to the rule |
void |
analyze(AnalysisHistory history)
Deprecated. Run the analysis portion of the rule to generate results for any matching data |
java.lang.String |
getLabelWithVariables()
Deprecated. |
AnalysisParameter |
getParameter(java.lang.String name)
Deprecated. Return the rule variable data of a named variable or null if no value was found |
int |
getParameterCount()
Deprecated. |
java.util.List |
getParameterList()
Deprecated. |
AbstractAnalysisProvider |
getProvider()
Deprecated. |
IAnalysisQuickFix |
getQuickFix(java.lang.String newId)
Deprecated. |
int |
getQuickFixCount()
Deprecated. |
java.util.Iterator |
getQuickFixIterator()
Deprecated. Return an iterator that can be used to crawl a list of quickfix id strings related to this rule |
IAnalysisViewer |
getViewer()
Deprecated. |
int |
getVisibleParameterCount()
Deprecated. Return the number of variables in the rule that are visible in the user interface. |
boolean |
hasQuickFixes()
Deprecated. Determine if the rule has any quickfixes associated with it |
boolean |
isCustom()
Deprecated. Used Internally |
void |
setCustom(boolean value)
Deprecated. Used Internally |
void |
setQuickFixId(java.lang.String newId)
Deprecated. Allows a custom rule to define its own id |
| Methods inherited from interface org.eclipse.tptp.platform.analysis.core.element.IAnalysisElement |
|---|
addDetailProvider, addHistoryResultSet, addOwnedElement, addOwnedElements, dispose, getDetailProviders, getElementType, getExternalDataMap, getHelpID, getHistoryResults, getIconName, getId, getLabel, getOwnedElements, getOwner, getPluginId, preAnalyze, removeHistoryResultSet, setElementType, setExternalDataMap, setHelpID, setIconName, setId, setLabel, setOwner, setPluginId |
| Methods inherited from interface org.eclipse.core.runtime.IExecutableExtension |
|---|
setInitializationData |
| Method Detail |
|---|
java.util.Iterator getQuickFixIterator()
boolean hasQuickFixes()
void setQuickFixId(java.lang.String newId)
newId - The id for the ruleint getQuickFixCount()
IAnalysisQuickFix getQuickFix(java.lang.String newId)
newId - The unique id of the quickfix to retrieve
void addParameter(AnalysisParameter parameter)
parameter - The parameter to add to the rulevoid addParameters(java.util.List parameters)
parameters - A list of RuleParameter instances to add to the ruleAnalysisParameter getParameter(java.lang.String name)
name - The name of the variable
int getParameterCount()
int getVisibleParameterCount()
java.util.List getParameterList()
java.lang.String getLabelWithVariables()
boolean isCustom()
void setCustom(boolean value)
isCustom - void analyze(AnalysisHistory history)
history - A reference to the history record for this analysisIAnalysisViewer getViewer()
AbstractAnalysisProvider getProvider()
void addHistoryResultSet(java.lang.String historyId,
AbstractAnalysisResult result)
historyId - The id of the history analysis runresult - The result to add
|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||