tte.rules.basics
Class UndefinedRequirement
java.lang.Object
tte.rules.basics.UndefinedRequirement
- All Implemented Interfaces:
- IRule
public class UndefinedRequirement
- extends java.lang.Object
- implements IRule
Class implemented IRule interface, that is the action class
of a Rule for basic RulesSet extension.
This Class defines the Rule "Undefined Requirement" if a cover link
destination does not exist in the project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UndefinedRequirement
public UndefinedRequirement()
getDisplayMessageForElement
public final java.lang.String getDisplayMessageForElement(Element elt)
- Method that can be implemented to customize
the displayed message when the rule is raised.
- Specified by:
getDisplayMessageForElement
in interface IRule
- Parameters:
elt
- the element that owns thr Rule
- Returns:
- the displayed message for the rule on the element
- See Also:
IRule.getDisplayMessageForElement(ttm.Element)
isRaisedForElement
public final java.lang.Boolean isRaisedForElement(Element elt,
Project project)
- Method to implement to indicate how the rule is raised for element.
- Specified by:
isRaisedForElement
in interface IRule
- Parameters:
elt
- the element that is checked with the ruleproject
- the project that can be needed
to determine if the rule should raised
- Returns:
- if the Rule is raised
- See Also:
IRule.isRaisedForElement(ttm.Element, ttm.Project)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.