public class OutputSettings extends Object
| Constructor and Description |
|---|
OutputSettings() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomHc(String label,
HeapConfiguration hc)
Adds a new graph to the list of custom graphs, that should be exported for debugging purpose.
|
void |
addRequiredContractForReuse(String signature,
String filename)
Adds a pair requested signature and filename to the set of requested contracts
|
Map<String,String> |
getContractForReuseRequests()
A mapping from the signatures for which contracts are requested
and the names of the files the exported contracts are stored in.
|
List<HcLabelPair> |
getCustomHcSet() |
String |
getDirectoryForReuseContracts() |
String |
getLocationForContractsForInspection() |
String |
getLocationForCustomHcs() |
String |
getLocationForGrammar() |
String |
getLocationForStateSpace() |
boolean |
isExportContractsForInspection() |
boolean |
isExportContractsForReuse() |
boolean |
isExportCustomHcs() |
boolean |
isExportGrammar() |
boolean |
isExportStateSpace() |
boolean |
isNoExport() |
boolean |
isValid()
Checks whether all necessary paths and names are present for objects that should be exported.
|
void |
setDefaultPath(String path)
Sets the default path for all exports.
|
void |
setDirectoryForReuseContracts(String directory)
Defines where the exported contracts should be stored
|
void |
setExportContractsForInspection(boolean exportContracts) |
void |
setExportContractsForReuse(boolean exportContracts) |
void |
setExportCustomHcs(boolean exportCustomHcs) |
void |
setExportGrammar(boolean exportGrammar) |
void |
setExportStateSpace(boolean exportStateSpace) |
void |
setFolderForContractsForInspection(String folderForContracts) |
void |
setFolderForCustomHcs(String folderForCustomHcs) |
void |
setFolderForGrammar(String folderForGrammar) |
void |
setFolderForStateSpace(String folderForStateSpace) |
void |
setNoExport(boolean enabled) |
void |
setPathForContractsForInspection(String pathForContracts) |
void |
setPathForCustomHcs(String pathForCustomHcs) |
void |
setPathForGrammar(String pathForGrammar) |
void |
setPathForStateSpace(String pathForStateSpace) |
void |
setRootPath(String rootPath) |
public boolean isNoExport()
public void setNoExport(boolean enabled)
enabled - True if no export should be performed.public void setDefaultPath(String path)
path - The default path.public boolean isExportStateSpace()
public void setExportStateSpace(boolean exportStateSpace)
exportStateSpace - True if and only if the generated state space should be exported.public void setPathForStateSpace(String pathForStateSpace)
pathForStateSpace - The path where exported state spaces are stored.public void setFolderForStateSpace(String folderForStateSpace)
folderForStateSpace - The directory that is created and containsSubsumingState the exported state space.public String getLocationForStateSpace()
public boolean isExportGrammar()
public void setExportGrammar(boolean exportGrammar)
exportGrammar - True if and only if loaded grammars should be exported.public void setPathForGrammar(String pathForGrammar)
pathForGrammar - The path where exported grammars are stored.public void setFolderForGrammar(String folderForGrammar)
folderForGrammar - The directory containing exported grammars.public String getLocationForGrammar()
public boolean isExportContractsForInspection()
public void setExportContractsForInspection(boolean exportContracts)
exportContracts - True if and only if used contracts should be exported for inspection.public void setPathForContractsForInspection(String pathForContracts)
pathForContracts - The path where exported contracts for inspection are stored.public void setFolderForContractsForInspection(String folderForContracts)
folderForContracts - The directory containing exported contracts for inspection.public String getLocationForContractsForInspection()
public boolean isExportCustomHcs()
public void setExportCustomHcs(boolean exportCustomHcs)
exportCustomHcs - True if and only if the generated state space should be exported.public void addCustomHc(String label, HeapConfiguration hc)
label, - the identifier of the graphshc, - the graph itselfpublic void setPathForCustomHcs(String pathForCustomHcs)
pathForCustomHcs - The path where exported custom hcs are stored.public void setFolderForCustomHcs(String folderForCustomHcs)
folderForCustomHcs - The directory that is created and containsSubsumingState the exported custom hcs.public String getLocationForCustomHcs()
public boolean isExportContractsForReuse()
public void setExportContractsForReuse(boolean exportContracts)
exportContracts - true if and only if (some) contracts should be exported.public String getDirectoryForReuseContracts()
public void setDirectoryForReuseContracts(String directory)
directory - public Map<String,String> getContractForReuseRequests()
public void addRequiredContractForReuse(String signature, String filename)
signature - the signature of the method whose contract is requestedfilename - the name of the file where the contract should be written to.public boolean isValid()
public void setRootPath(String rootPath)
public List<HcLabelPair> getCustomHcSet()
Copyright © 2018. All rights reserved.