|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.api.resources.Resource
org.sonar.api.resources.Method
@Deprecated public class Method
| Field Summary | |
|---|---|
protected Language |
language
Deprecated. |
protected String |
qualifier
Deprecated. |
static String |
SCOPE
Deprecated. |
| Fields inherited from class org.sonar.api.resources.Resource |
|---|
QUALIFIER_CLASS, QUALIFIER_DIRECTORY, QUALIFIER_FIELD, QUALIFIER_FILE, QUALIFIER_LIB, QUALIFIER_METHOD, QUALIFIER_MODULE, QUALIFIER_PACKAGE, QUALIFIER_PROJECT, QUALIFIER_SUBVIEW, QUALIFIER_UNIT_TEST_CLASS, QUALIFIER_VIEW, SCOPE_ENTITY, SCOPE_SET, SCOPE_SPACE |
| Constructor Summary | |
|---|---|
protected |
Method(String key,
String qualifier,
Language language)
Deprecated. |
| Method Summary | |
|---|---|
static Method |
createMethod(String key,
Language language)
Deprecated. |
boolean |
equals(Object o)
Deprecated. |
String |
getDescription()
Deprecated. |
Language |
getLanguage()
Deprecated. |
String |
getLongName()
Deprecated. |
String |
getName()
Deprecated. |
Resource |
getParent()
Deprecated. The parent is used to build the resources tree, for example for relations between classes, packages and projects. |
String |
getQualifier()
Deprecated. The qualifier tells the type of the resource. |
String |
getScope()
Deprecated. |
int |
hashCode()
Deprecated. |
boolean |
matchFilePattern(String antPattern)
Deprecated. Check resource against an Ant pattern, like mypackag?/*Foo.java. |
| Methods inherited from class org.sonar.api.resources.Resource |
|---|
getDeprecatedKey, getEffectiveKey, getId, getKey, getPath, isExcluded, normalize, setDeprecatedKey, setEffectiveKey, setExcluded, setId, setKey, setPath |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SCOPE
protected String qualifier
protected Language language
| Constructor Detail |
|---|
protected Method(String key,
String qualifier,
Language language)
| Method Detail |
|---|
public String getName()
getName in class Resourcepublic String getLongName()
getLongName in class Resourcepublic String getDescription()
getDescription in class Resourcepublic final Language getLanguage()
getLanguage in class Resourcepublic final String getScope()
getScope in class Resourcepublic final String getQualifier()
Resource
getQualifier in class Resourcefor the list of qualifiers,
to find out if a resource if a class, a unit test,... from its qualifierpublic Resource getParent()
ResourceReturn null if the parent is the project.
getParent in class Resourcepublic final boolean matchFilePattern(String antPattern)
Resource
matchFilePattern in class ResourceantPattern - Ant-like pattern (with **, * and ?). It includes file suffixes.
public final boolean equals(Object o)
equals in class Resourcepublic final int hashCode()
hashCode in class Resource
public static Method createMethod(String key,
Language language)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||