public class InputSettings extends Object
| Modifier and Type | Field and Description |
|---|---|
URL |
initialStatesURL
The url to the default empty initial state.
|
| Constructor and Description |
|---|
InputSettings() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContractFile(String name)
Adds the provided name to the list of contract files to consider for this run
|
void |
addPredefinedGrammar(String name,
String renameFileLocation)
Adds a new predefined grammar (including its field maps) to the list of utilised grammars.
|
void |
addUserDefinedGrammarName(String userDefinedGrammarName)
Sets the name of the file containing the user-defined graph grammar underlying the analysis.
|
String |
getClassName() |
String |
getClasspath() |
ArrayList<String> |
getContractFileNames()
Returns the filenames of the user defined contracts to use
|
List<String> |
getGrammarLocations() |
URL |
getInitialStatesURL() |
String |
getInputLocation() |
String |
getInputName() |
String |
getMethodName() |
String |
getName() |
String |
getPathToContracts()
Returns the path to the files containing user defined contracts
|
String |
getPathToSettingsFile() |
String |
getRenamingLocation(String predefinedGrammar) |
String |
getScenario() |
String |
getSpecificationDescription() |
ArrayList<String> |
getUsedPredefinedGrammars() |
boolean |
hasUserDefinedGrammar()
Returns the name of the file containing the user-defined graph grammar underlying the analysis.
|
void |
setClassName(String className)
Sets the name of the class that should be analyzed.
|
void |
setClasspath(String classpath)
Sets the path to the classes that are analyzed.
|
void |
setDefaultPath(String path)
Sets the default path to search for all possible user defined input files.
|
void |
setInitialStatesURL(URL resource) |
void |
setInputName(String inputName)
Sets the name of the file holding the initial state.
|
void |
setMethodName(String methodName)
Sets the name of the method that should be analyzed.
|
void |
setName(String name) |
void |
setPathToContracts(String pathToContracts)
Sets the path to the files containing user defined contracts
|
void |
setPathToGrammar(String pathToGrammar)
Sets the path to the file containing the graph grammar underlying the analysis.
|
void |
setPathToInput(String pathToInput)
Sets the path to the file holding the initial state.
|
void |
setPathToSettingsFile(String pathToSettingsFile) |
void |
setRootPath(String rootPath)
prepends the rootPath to all user-defined paths.
|
void |
setScenario(String scenario) |
void |
setSpecificationDescription(String specificationDescription) |
public URL initialStatesURL
public String getName()
public void setName(String name)
public String getScenario()
public void setScenario(String scenario)
public void setSpecificationDescription(String specificationDescription)
public String getSpecificationDescription()
public String getPathToSettingsFile()
public void setPathToSettingsFile(String pathToSettingsFile)
public String getClasspath()
public void setClasspath(String classpath)
classpath - The path to the classes that are analyzed.public String getClassName()
public void setClassName(String className)
className - The classes' name.public String getMethodName()
public void setMethodName(String methodName)
methodName - The name of the method to analyze.public URL getInitialStatesURL()
public void setInitialStatesURL(URL resource)
public String getInputName()
public void setInputName(String inputName)
inputName - The name of the file holding the initial state.public void setPathToInput(String pathToInput)
pathToInput - The directory that containsSubsumingState the file holding the initial state.public String getInputLocation()
public void setPathToGrammar(String pathToGrammar)
pathToGrammar - The path to the file containing the graph grammar.public void addUserDefinedGrammarName(String userDefinedGrammarName)
userDefinedGrammarName - The name of the file containing the graph grammar.public boolean hasUserDefinedGrammar()
public List<String> getGrammarLocations()
public void addPredefinedGrammar(String name, String renameFileLocation)
name, - the name of the predefined grammarrenameFileLocation, - the location of the file defining the map from fields of the predefined
grammar to those of the analysed data structure.public String getPathToContracts()
public void setPathToContracts(String pathToContracts)
public void addContractFile(String name)
name - the filenamepublic ArrayList<String> getContractFileNames()
public void setDefaultPath(String path)
path - The default path.public void setRootPath(String rootPath)
rootPath - a path prefix which should be applied to all user defined pathsCopyright © 2018. All rights reserved.