com.ibm.dbb.dependency

Class DependencyPath

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

  • Deprecated. 
    See deprecation note on DependencyResolver.

    @Deprecated
    public class DependencyPath
    extends java.lang.Object
    The DependenceyPath class is used when trying to resolve logical dependencies gathered by the dependency scanner into physical dependencies that can be located on the file system. It is comprised of three fields:
    • collection - This is the name of the repository collection to search
    • sourceDir - This is root directory on the file system that the source files exist
    • directory - This is the relative path (to the sourceDir) of the directory to search
    • Constructor Summary

      Constructors 
      Constructor and Description
      DependencyPath()
      Deprecated. 
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      DependencyPath archive(java.lang.String archive)
      Deprecated. 
      Chainable setter
      DependencyPath collection(java.lang.String collection)
      Deprecated. 
      Chainable setter
      DependencyPath directory(java.lang.String directory)
      Deprecated. 
      Chainable setter
      boolean equals(java.lang.Object obj)
      Deprecated. 
      Compares this dependency path with the given object
      java.lang.String getArchive()
      Deprecated. 
      Returns the archive for this path
      java.lang.String getCollection()
      Deprecated. 
      Returns the repository collection name for this path
      java.lang.String getDirectory()
      Deprecated. 
      Returns the directory name for this path
      java.lang.String getSourceDir()
      Deprecated. 
      Returns the source directory for this path
      int hashCode()
      Deprecated. 
      Generates an unique hash-code for this dependency path
      void setArchive(java.lang.String archive)
      Deprecated. 
      Sets the archive for this path
      void setCollection(java.lang.String collection)
      Deprecated. 
      Sets the repository collection name for this path
      void setDirectory(java.lang.String directory)
      Deprecated. 
      Sets the directory name for this path
      void setSourceDir(java.lang.String sourceDir)
      Deprecated. 
      Sets the source directory for this path
      DependencyPath sourceDir(java.lang.String sourceDir)
      Deprecated. 
      Chainable setter
      com.ibm.json.java.JSONObject toJSON()
      Deprecated. 
      Returns a JSON representation of the object
      java.lang.String toString()
      Deprecated. 
      Outputs the field of this dependency path to a java.lang.String
      • Methods inherited from class java.lang.Object

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

      • DependencyPath

        public DependencyPath()
        Deprecated. 
    • Method Detail

      • getDirectory

        public java.lang.String getDirectory()
        Deprecated. 
        Returns the directory name for this path
        Returns:
        the directory name for this path
      • setDirectory

        public void setDirectory(java.lang.String directory)
        Deprecated. 
        Sets the directory name for this path
        Parameters:
        directory - The directory name for this path
      • getCollection

        public java.lang.String getCollection()
        Deprecated. 
        Returns the repository collection name for this path
        Returns:
        the repository collection name for this path
      • setCollection

        public void setCollection(java.lang.String collection)
        Deprecated. 
        Sets the repository collection name for this path
        Parameters:
        collection - The name of the repository collection
      • getSourceDir

        public java.lang.String getSourceDir()
        Deprecated. 
        Returns the source directory for this path
        Returns:
        the source diredctory for this path
      • setSourceDir

        public void setSourceDir(java.lang.String sourceDir)
        Deprecated. 
        Sets the source directory for this path
        Parameters:
        sourceDir - The source directory for this path
      • getArchive

        public java.lang.String getArchive()
        Deprecated. 
        Returns the archive for this path
        Returns:
        the acrchive for this path
      • setArchive

        public void setArchive(java.lang.String archive)
        Deprecated. 
        Sets the archive for this path
        Parameters:
        archive - The archive for this path
      • collection

        public DependencyPath collection(java.lang.String collection)
        Deprecated. 
        Chainable setter
        Parameters:
        collection - The name of the repository collection
        Returns:
        this dependency path
        See Also:
        setCollection(java.lang.String)
      • sourceDir

        public DependencyPath sourceDir(java.lang.String sourceDir)
        Deprecated. 
        Chainable setter
        Parameters:
        sourceDir - The source directory for this path
        Returns:
        this dependency path
        See Also:
        setSourceDir(java.lang.String)
      • directory

        public DependencyPath directory(java.lang.String directory)
        Deprecated. 
        Chainable setter
        Parameters:
        directory - The source directory for this path
        Returns:
        this dependency path
        See Also:
        setDirectory(java.lang.String)
      • archive

        public DependencyPath archive(java.lang.String archive)
        Deprecated. 
        Chainable setter
        Parameters:
        archive - The archive for this path
        Returns:
        this dependency path
        See Also:
        setArchive(java.lang.String)
      • toJSON

        public com.ibm.json.java.JSONObject toJSON()
        Deprecated. 
        Returns a JSON representation of the object
        Returns:
        the JSON representation of the object
      • toString

        public java.lang.String toString()
        Deprecated. 
        Outputs the field of this dependency path to a java.lang.String
        Overrides:
        toString in class java.lang.Object
        Returns:
        a String representation of this dependency path
      • hashCode

        public int hashCode()
        Deprecated. 
        Generates an unique hash-code for this dependency path
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        the hash-code
      • equals

        public boolean equals(java.lang.Object obj)
        Deprecated. 
        Compares this dependency path with the given object
        Overrides:
        equals in class java.lang.Object
        Returns:
        true if all of the fields of this dependency path are equal to the given object

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