com.ibm.dbb.dependency

Class ResolutionRule

  • java.lang.Object
    • com.ibm.dbb.dependency.ResolutionRule

  • Deprecated. 
    See deprecation note on DependencyResolver.

    @Deprecated
    public class ResolutionRule
    extends java.lang.Object
    Resolution rule is used to resolve logical dependency to physical dependency
    • Constructor Summary

      Constructors 
      Constructor and Description
      ResolutionRule()
      Deprecated. 
      Default constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      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. 
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ResolutionRule

        public ResolutionRule()
        Deprecated. 
        Default constructor
    • Method Detail

      • getLname

        public java.lang.String getLname()
        Deprecated. 
        Get the logical name
        Returns:
        the logical name
      • setLname

        public void setLname(java.lang.String lname)
        Deprecated. 
        Set the logical name
        Parameters:
        lname - the logical name
      • getLibrary

        public java.lang.String getLibrary()
        Deprecated. 
        Get the library
        Returns:
        the library
      • setLibrary

        public void setLibrary(java.lang.String library)
        Deprecated. 
        Set the library
        Parameters:
        library - the library
      • getCategory

        public java.lang.String getCategory()
        Deprecated. 
        Get the category
        Returns:
        the category
      • setCategory

        public void setCategory(java.lang.String category)
        Deprecated. 
        Set the category
        Parameters:
        category - the category
      • getSearchPath

        public java.util.List<DependencyPath> getSearchPath()
        Deprecated. 
        Return a list of search paths
        Returns:
        the list of search paths
      • setSearchPath

        public void setSearchPath(java.util.List<DependencyPath> searchPath)
        Deprecated. 
        Set the list of search paths
        Parameters:
        searchPath - the list of search paths
      • addPath

        public void addPath(DependencyPath dependencyPath)
        Deprecated. 
        Add a search path
        Parameters:
        dependencyPath - the search path
      • addPath

        public void addPath(java.lang.String collection,
                            java.lang.String sourceDir,
                            java.lang.String directory)
        Deprecated. 
        Add a search path
        Parameters:
        collection - the collection of the search path
        sourceDir - the directory contains the source files
        directory - relative path of the directory to search
      • lname

        public ResolutionRule lname(java.lang.String lname)
        Deprecated. 
        Set the logical name
        Parameters:
        lname - the logical name
        Returns:
        this instance
      • library

        public ResolutionRule library(java.lang.String library)
        Deprecated. 
        Set the library
        Parameters:
        library - the library
        Returns:
        this instance
      • category

        public ResolutionRule category(java.lang.String category)
        Deprecated. 
        Set the category
        Parameters:
        category - the category
        Returns:
        this instance
      • path

        public ResolutionRule path(DependencyPath dependencyPath)
        Deprecated. 
        Add a search path
        Parameters:
        dependencyPath - the search path
        Returns:
        this instance
      • applies

        public boolean applies(LogicalDependency logicalDependency)
        Deprecated. 
        Test whether the given logical dependency is match with the criteria specified in this resolution rule
        Parameters:
        logicalDependency - the logical dependency to be tested
        Returns:
        true if the given logical dependency is match with this resolution rule, false otherwise
      • toJSON

        public com.ibm.json.java.JSONObject toJSON()
        Deprecated. 
      • toString

        public java.lang.String toString()
        Deprecated. 
        Overrides:
        toString in class java.lang.Object

<IBM Copyright © 2018 IBM Corp. All Rights Reserved.