public class ImpactFile
extends java.lang.Object
ImpactResolver
which searches repository collections for files (programs) that
have a dependency (are impacted by changes) to the search file. It is comprised of the following fields:
Constructor and Description |
---|
ImpactFile(LogicalFile logicalFile,
java.lang.String collection)
Public Constructor
|
ImpactFile(java.lang.String lname,
java.lang.String file,
java.lang.String language,
java.lang.String collection)
Public Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCollection()
Returns the repository collection this impacted file was located in
|
java.lang.String |
getFile()
Returns the path (usually relative to a root source directory) of the physical file impacted
|
java.lang.String |
getLanguage()
Returns the coding language of the impacted source file
|
java.lang.String |
getLname()
Return the logical name of the impacted file
|
LogicalFile |
getLogicalFile() |
int |
hashCode() |
void |
setCollection(java.lang.String collection)
Sets the repository collection this impacted file was located in
|
void |
setFile(java.lang.String file)
Sets the path (usually relative to a root source directory) of the physical file impacted
|
void |
setLanguage(java.lang.String language)
Sets the coding language of the impacted source file
|
void |
setLname(java.lang.String lname)
Sets the logical name of the impacted file
|
com.ibm.json.java.JSONObject |
toJSON()
Returns a JSON representation of the object
|
java.lang.String |
toString() |
public ImpactFile(java.lang.String lname, java.lang.String file, java.lang.String language, java.lang.String collection)
lname
- - The logical name of the impacted file. Ex MortgageApplication/cobol/epsnbrvl.cbl -> EPSNBRVLfile
- - The path (usually relative to a root source directory) of the physical file impactedlanguage
- - The coding language of the impacted filecollection
- - The repository collection the impacted file was located inpublic ImpactFile(LogicalFile logicalFile, java.lang.String collection)
logicalFile
- - The logical file this is based oncollection
- - The repository collection the impacted file was located inpublic java.lang.String getCollection()
public void setCollection(java.lang.String collection)
collection
- the repository collection this impacted file was located inpublic java.lang.String getFile()
public void setFile(java.lang.String file)
file
- the path of the physical file impactedpublic com.ibm.json.java.JSONObject toJSON()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getLname()
public void setLname(java.lang.String lname)
lname
- the logical name of the impacted filepublic java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language
- the coding langauge of the impacted source filepublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public LogicalFile getLogicalFile()
<IBM Copyright © 2018 IBM Corp. All Rights Reserved.