public class ScanAndParseAssignmentFile extends BuildingPhase
Modifier and Type | Field and Description |
---|---|
private java.io.File |
assignmentFile
The path to the assignment file.
|
private ConfiguredPackage |
pkg
The associated package.
|
private RouterConfiguration |
routerConfiguration
Reference of RouterConfiguration.
|
Constructor and Description |
---|
ScanAndParseAssignmentFile(ConfiguredPackage pkg,
java.io.File assignmentFile,
RouterConfiguration routerConfiguration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
action()
abstract action for a phase.
|
getName, setName
private final ConfiguredPackage pkg
private final java.io.File assignmentFile
private final RouterConfiguration routerConfiguration
public ScanAndParseAssignmentFile(ConfiguredPackage pkg, java.io.File assignmentFile, RouterConfiguration routerConfiguration)
pkg
- The associated package.assignmentFile
- the path to the assignment file.routerConfiguration
- Reference to the RouterConfiguration.public void action() throws ScannerException, java.lang.InterruptedException, java.io.IOException, ReaderException, ParserException
AbstractPhase
action
in class BuildingPhase
ScannerException
- ScannerExceptionjava.lang.InterruptedException
- InterruptedExceptionjava.io.IOException
- IOExceptionReaderException
- ReaderExceptionParserException
- ParserException