Traceability

tte.rules
Interface IRule

All Known Implementing Classes:
DefinedSeveralTimesAttribute, DefinedSeveralTimesRequirement, DerivedRequirement, TraceabilityViolation, UncoveredRequirement, UndefinedRequirement

public interface IRule

Interface the must be implemented to develop an actionClass for a RulesSet extension.


Method Summary
 java.lang.String getDisplayMessageForElement(Element elt)
          Method that can be implemented to customize the displayed message when the rule is raised.
 java.lang.Boolean isRaisedForElement(Element elt, Project project)
          Method to implement to indicate how the rule is raised for element.
 

Method Detail

isRaisedForElement

java.lang.Boolean isRaisedForElement(Element elt,
                                     Project project)
Method to implement to indicate how the rule is raised for element.

Parameters:
elt - the element that is checked with the rule
project - the project that can be needed to determine if the rule should raised
Returns:
if the Rule is raised

getDisplayMessageForElement

java.lang.String getDisplayMessageForElement(Element elt)
Method that can be implemented to customize the displayed message when the rule is raised.

Parameters:
elt - the element that owns thr Rule
Returns:
the displayed message for the rule on the element

Traceability

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.