org.sonar.api.profiles
Class Alert
java.lang.Object
org.sonar.api.database.BaseIdentifiable
org.sonar.api.profiles.Alert
- All Implemented Interfaces:
- Cloneable
public class Alert
- extends BaseIdentifiable
- implements Cloneable
OPERATOR_GREATER
public static final String OPERATOR_GREATER
- See Also:
- Constant Field Values
OPERATOR_SMALLER
public static final String OPERATOR_SMALLER
- See Also:
- Constant Field Values
OPERATOR_EQUALS
public static final String OPERATOR_EQUALS
- See Also:
- Constant Field Values
OPERATOR_NOT_EQUALS
public static final String OPERATOR_NOT_EQUALS
- See Also:
- Constant Field Values
Alert
public Alert()
Alert
public Alert(RulesProfile rulesProfile,
Metric metric,
String operator,
String valueError,
String valueWarning)
getRulesProfile
public RulesProfile getRulesProfile()
setRulesProfile
public void setRulesProfile(RulesProfile rulesProfile)
getMetric
public Metric getMetric()
setMetric
public void setMetric(Metric metric)
getOperator
public String getOperator()
setOperator
public void setOperator(String operator)
getValueError
public String getValueError()
setValueError
public void setValueError(String valueError)
getValueWarning
public String getValueWarning()
setValueWarning
public void setValueWarning(String valueWarning)
isGreaterOperator
public boolean isGreaterOperator()
isSmallerOperator
public boolean isSmallerOperator()
isEqualsOperator
public boolean isEqualsOperator()
isNotEqualsOperator
public boolean isNotEqualsOperator()
getAlertLabel
public String getAlertLabel(Metric.Level level)
clone
public Object clone()
- Overrides:
clone
in class Object
Copyright © 2009 SonarSource SA. All Rights Reserved.