@Deprecated public final class Library extends Resource
QUALIFIER_DIRECTORY, QUALIFIER_FILE, QUALIFIER_LIB, QUALIFIER_MODULE, QUALIFIER_PROJECT, QUALIFIER_SUBVIEW, QUALIFIER_VIEW, SCOPE_ENTITY, SCOPE_SET, SCOPE_SPACE| Constructor and Description | 
|---|
| Library(String key,
       String version)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| static Library | createFromMavenIds(String groupId,
                  String artifactId,
                  String version)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 files, directories and projects. | 
| String | getQualifier()Deprecated.  The qualifier tells the type of the resource. | 
| String | getScope()Deprecated.  | 
| String | getVersion()Deprecated.  | 
| int | hashCode()Deprecated.  | 
| boolean | matchFilePattern(String antPattern)Deprecated.  Check resource against an Ant pattern, like mypackag?/*Foo.java. | 
| Library | setDescription(String description)Deprecated.  | 
| Library | setName(String name)Deprecated.  | 
| String | toString()Deprecated.  | 
getEffectiveKey, getId, getKey, getPath, getUuid, isExcluded, language, normalize, setEffectiveKey, setExcluded, setId, setKey, setPath, setUuidpublic String getVersion()
public Library setDescription(String description)
public String getLongName()
getLongName in class Resourcepublic String getDescription()
getDescription in class Resourcepublic Language getLanguage()
getLanguage in class ResourceFiles may have a non null value.public String getQualifier()
ResourcegetQualifier 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 current project (or module in case of multi-module).
public boolean matchFilePattern(String antPattern)
ResourcematchFilePattern in class ResourceantPattern - Ant-like pattern (with **, * and ?). It includes file suffixes.public static Library createFromMavenIds(String groupId, String artifactId, String version)
Copyright © 2009–2016 SonarSource. All rights reserved.