Package com.ibm.dbb.build.report.records
Class DependencySetRecord
- java.lang.Object
-
- com.ibm.dbb.build.report.records.Record
-
- com.ibm.dbb.build.report.records.DependencySetRecord
-
public class DependencySetRecord extends Record
The record containing the dependency set record
-
-
Constructor Summary
Constructors Constructor Description DependencySetRecord()Construct a record with a default IDDependencySetRecord(java.lang.String id)Create a dependency set record with a specific ID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAllDependencies(java.util.List<PhysicalDependency> dependencies)Add all physical dependencies to the recordvoidaddDependency(PhysicalDependency dependency)Add a physical dependency to the recordjava.util.List<PhysicalDependency>getAllDependencies()Retrieve all dependencies in this recordjava.lang.StringgetFile()Return the file to store the dependenciesRecordparse(com.google.gson.JsonObject jsonObj)Create the record from JSON.voidsetFile(java.lang.String file)Set the file to store dependenciescom.google.gson.JsonObjecttoJSON()Returns the record in JSON format.
-
-
-
Field Detail
-
PROP_FILE
public static final java.lang.String PROP_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
addDependency
public void addDependency(PhysicalDependency dependency)
Add a physical dependency to the record- Parameters:
dependency- the dependency to be added
-
addAllDependencies
public void addAllDependencies(java.util.List<PhysicalDependency> dependencies)
Add all physical dependencies to the record- Parameters:
dependencies- the list of dependencies to be added
-
getAllDependencies
public java.util.List<PhysicalDependency> getAllDependencies()
Retrieve all dependencies in this record- Returns:
- the list of physical dependencies
-
getFile
public java.lang.String getFile()
Return the file to store the dependencies- Returns:
- the file
-
setFile
public void setFile(java.lang.String file)
Set the file to store dependencies- Parameters:
file- the file
-
toJSON
public com.google.gson.JsonObject toJSON()
Returns the record in JSON format.
-
-