public class RuleKey extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static RuleKey |
of(String repository,
String rule)
Create a key.
|
static RuleKey |
parse(String s)
Create a key from a string representation (see
toString(). |
String |
repository()
Never null
|
String |
rule()
Never null
|
String |
toString()
Format is "repository:rule", for example "squid:AvoidCycle"
|
public static RuleKey parse(String s)
toString(). An IllegalArgumentException is raised
if the format is not valid.public String repository()
Copyright © 2009-2014 SonarSource. All Rights Reserved.