DependencyResolver
.@Deprecated
public class ResolutionRule
extends java.lang.Object
Constructor and Description |
---|
ResolutionRule()
Deprecated.
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addPath(DependencyPath dependencyPath)
Deprecated.
Add a search path
|
void |
addPath(java.lang.String collection,
java.lang.String sourceDir,
java.lang.String directory)
Deprecated.
Add a search path
|
boolean |
applies(LogicalDependency logicalDependency)
Deprecated.
Test whether the given logical dependency is match with the criteria
specified in this resolution rule
|
ResolutionRule |
category(java.lang.String category)
Deprecated.
Set the category
|
java.lang.String |
getCategory()
Deprecated.
Get the category
|
java.lang.String |
getLibrary()
Deprecated.
Get the library
|
java.lang.String |
getLname()
Deprecated.
Get the logical name
|
java.util.List<DependencyPath> |
getSearchPath()
Deprecated.
Return a list of search paths
|
ResolutionRule |
library(java.lang.String library)
Deprecated.
Set the library
|
ResolutionRule |
lname(java.lang.String lname)
Deprecated.
Set the logical name
|
ResolutionRule |
path(DependencyPath dependencyPath)
Deprecated.
Add a search path
|
void |
setCategory(java.lang.String category)
Deprecated.
Set the category
|
void |
setLibrary(java.lang.String library)
Deprecated.
Set the library
|
void |
setLname(java.lang.String lname)
Deprecated.
Set the logical name
|
void |
setSearchPath(java.util.List<DependencyPath> searchPath)
Deprecated.
Set the list of search paths
|
com.ibm.json.java.JSONObject |
toJSON()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public java.lang.String getLname()
public void setLname(java.lang.String lname)
lname
- the logical namepublic java.lang.String getLibrary()
public void setLibrary(java.lang.String library)
library
- the librarypublic java.lang.String getCategory()
public void setCategory(java.lang.String category)
category
- the categorypublic java.util.List<DependencyPath> getSearchPath()
public void setSearchPath(java.util.List<DependencyPath> searchPath)
searchPath
- the list of search pathspublic void addPath(DependencyPath dependencyPath)
dependencyPath
- the search pathpublic void addPath(java.lang.String collection, java.lang.String sourceDir, java.lang.String directory)
collection
- the collection of the search pathsourceDir
- the directory contains the source filesdirectory
- relative path of the directory to searchpublic ResolutionRule lname(java.lang.String lname)
lname
- the logical namepublic ResolutionRule library(java.lang.String library)
library
- the librarypublic ResolutionRule category(java.lang.String category)
category
- the categorypublic ResolutionRule path(DependencyPath dependencyPath)
dependencyPath
- the search pathpublic boolean applies(LogicalDependency logicalDependency)
logicalDependency
- the logical dependency to be testedtrue
if the given logical dependency is match
with this resolution rule, false
otherwisepublic com.ibm.json.java.JSONObject toJSON()
public java.lang.String toString()
toString
in class java.lang.Object
<IBM Copyright © 2018 IBM Corp. All Rights Reserved.