|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ControlInterface
This interface controls the basics of the UCOT-program (starting, parsing, shuting down etc).
Method Summary | |
---|---|
void |
addToAnalyzeModel(UseCase usecase)
Requests core to parse use case, perform heuristic on it and add it to given analyze model |
void |
addToAnalyzeModel(UseCase usecase,
ParserInterface parser)
Requests core to parse use case, perform heuristic on it and add it to given analyze model |
void |
addToAnalyzeModel(UseCase usecase,
ParserInterface parser,
HeuristicInterface heuristic)
Requests core to parse use case, perform heuristic on it and add it to given analyze model |
void |
clearAnalyzeModel()
Clears the whole analyze model. |
AnalyzeModel |
getAnalyzeModel()
returns vector of all analyze models from CORE |
HeuristicInterface |
getCurrentHeuristic()
returns the current heuristic |
ParserInterface |
getCurrentParser()
returns the current default parser |
java.util.Vector<HeuristicInterface> |
getHeuristics()
Returns a list of heuristics that are available |
InputCollection |
getInputs()
Returns a list of input adapters available. |
java.util.Vector<OutputInterface> |
getOutputs()
Returns a list of output adapters available. |
java.util.Vector<ParserInterface> |
getParsers()
Returns a vector of parsers that are available |
UseCaseCollection |
getUseCaseCollection()
Returns all loaded usecases |
void |
loadAnalyzeModel(java.net.URL url)
Loads analyze model from a file |
void |
loadUseCases(java.net.URL url)
Loads usecases from file |
void |
output(java.net.URL url,
OutputInterface output,
AnalyzeModel model)
Exports given analyze model to given url using given outputadapter |
void |
saveAnalyzeModel(java.net.URL url)
Saves analyze model to a file |
void |
setCurrentHeuristic(HeuristicInterface heuristic)
Sets the default heuristic to use. |
void |
setCurrentParser(ParserInterface parser)
Sets the default parser to use. |
void |
shutdown()
Shuts down the program. |
Method Detail |
---|
void shutdown()
void clearAnalyzeModel()
void loadUseCases(java.net.URL url)
url
- url of the filevoid loadAnalyzeModel(java.net.URL url)
url
- url of the file containing analyze modelvoid saveAnalyzeModel(java.net.URL url)
url
- target fileUseCaseCollection getUseCaseCollection()
void addToAnalyzeModel(UseCase usecase) throws java.lang.Exception
useCase
- use case to work magic onmodel
- analyze model where specified usecase is added
java.lang.Exception
void addToAnalyzeModel(UseCase usecase, ParserInterface parser) throws java.lang.Exception
useCase
- use case to work magic onmodel
- analyze model where specified usecase is addedparser
- Parser to use
java.lang.Exception
void addToAnalyzeModel(UseCase usecase, ParserInterface parser, HeuristicInterface heuristic) throws java.lang.Exception
useCase
- use case to work magic onmodel
- analyze model where specified usecase is addedparser
- Parser to useheuristic
- heuristic to use
java.lang.Exception
AnalyzeModel getAnalyzeModel()
java.util.Vector<ParserInterface> getParsers()
java.util.Vector<HeuristicInterface> getHeuristics()
java.util.Vector<OutputInterface> getOutputs()
InputCollection getInputs()
void setCurrentParser(ParserInterface parser)
parser
- Parser to be used by defaultvoid setCurrentHeuristic(HeuristicInterface heuristic)
heuristic
- default heuristic to be usedParserInterface getCurrentParser()
HeuristicInterface getCurrentHeuristic()
void output(java.net.URL url, OutputInterface output, AnalyzeModel model) throws java.lang.Exception
url
- destination urloutput
- output adaptermodel
- analyzemodel to export
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |