Package cdc.issues
Class IssueId
- java.lang.Object
-
- cdc.issues.IssueId
-
- All Implemented Interfaces:
Comparable<IssueId>
public class IssueId extends Object implements Comparable<IssueId>
Data issue identifier.It is composed of:
- a rule identifier (domain and rule name)
- rule parameters
- a project name
- locations
- Author:
- Damien Carbonne
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIssueId.Builder
-
Constructor Summary
Constructors Constructor Description IssueId(RuleId ruleId, Params params, Location... locations)Deprecated, for removal: This API element is subject to removal in a future version.IssueId(RuleId ruleId, Params params, String project, Location... locations)Deprecated, for removal: This API element is subject to removal in a future version.IssueId(String domain, Enum<?> name, Params params, Location... locations)Deprecated, for removal: This API element is subject to removal in a future version.IssueId(String domain, Enum<?> name, Params params, String project, Location... locations)Deprecated, for removal: This API element is subject to removal in a future version.IssueId(String domain, String name, Params params, Location... locations)Deprecated, for removal: This API element is subject to removal in a future version.IssueId(String domain, String name, Params params, String project, Location... locations)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IssueId.Builderbuilder()intcompareTo(IssueId other)booleanequals(Object object)StringgetDomain()Location[]getLocations()StringgetName()<T extends Enum<T>>
TgetName(Class<T> cls)ParamsgetParams()StringgetProject()RuleIdgetRuleId()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
IssueId
@Deprecated(forRemoval=true) public IssueId(RuleId ruleId, Params params, String project, Location... locations)
Deprecated, for removal: This API element is subject to removal in a future version.
-
IssueId
@Deprecated(forRemoval=true) public IssueId(String domain, String name, Params params, String project, Location... locations)
Deprecated, for removal: This API element is subject to removal in a future version.
-
IssueId
@Deprecated(forRemoval=true) public IssueId(RuleId ruleId, Params params, Location... locations)
Deprecated, for removal: This API element is subject to removal in a future version.
-
IssueId
@Deprecated(forRemoval=true) public IssueId(String domain, String name, Params params, Location... locations)
Deprecated, for removal: This API element is subject to removal in a future version.
-
IssueId
@Deprecated(forRemoval=true) public IssueId(String domain, Enum<?> name, Params params, String project, Location... locations)
Deprecated, for removal: This API element is subject to removal in a future version.
-
IssueId
@Deprecated(forRemoval=true) public IssueId(String domain, Enum<?> name, Params params, Location... locations)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
getRuleId
public RuleId getRuleId()
-
getDomain
public String getDomain()
-
getName
public String getName()
-
getParams
public Params getParams()
-
getProject
public String getProject()
-
getLocations
public Location[] getLocations()
-
compareTo
public int compareTo(IssueId other)
- Specified by:
compareToin interfaceComparable<IssueId>
-
builder
public static IssueId.Builder builder()
-
-