import org.sonar.api.rules.RulePriority;
import javax.persistence.*;
-
import java.util.ArrayList;
import java.util.List;
this.alerts = Lists.newArrayList();
}
+ /**
+ * @deprecated since 2.3. Use the factory method create()
+ */
+ @Deprecated
+ public RulesProfile(String name, String language, boolean defaultProfile, /* kept for backward-compatibility */boolean provided) {
+ this(name, language);
+ this.defaultProfile = defaultProfile;
+ }
+
public Integer getId() {
return id;
}
}
/**
- * @deprecated since 3.3. Always return true.
* @return
+ * @deprecated since 3.3. Always return true.
*/
@Deprecated
public Boolean getEnabled() {
}
/**
- * @deprecated since 3.3. Always return true.
* @return
+ * @deprecated since 3.3. Always return true.
*/
@Deprecated
public boolean isEnabled() {
}
/**
- * @deprecated since 3.3.
* @return
+ * @deprecated since 3.3.
*/
@Deprecated
public RulesProfile setEnabled(Boolean b) {