|
|
@ -3398,14 +3398,14 @@ should have *get* counterparts. Job configuration is serialized through
|
|
|
|
`__toString()` methods.
|
|
|
|
`__toString()` methods.
|
|
|
|
|
|
|
|
|
|
|
|
For loading of the job configuration there is separate `Storage` class which can
|
|
|
|
For loading of the job configuration there is separate `Storage` class which can
|
|
|
|
be used for loading, saving or archivation of job configuration. For parsing
|
|
|
|
be used for loading, saving or archivating of job configuration. For parsing the
|
|
|
|
storage uses the `Loader` class which does all the checks and loads the data
|
|
|
|
storage uses the `Loader` class which does all the checks and loads the data
|
|
|
|
from given strings in the appropriate structures. In case of parser error
|
|
|
|
from given strings in the appropriate structures. In case of parser error
|
|
|
|
`App\Exceptions\JobConfigLoadingException` is thrown.
|
|
|
|
`App\Exceptions\JobConfigLoadingException` is thrown.
|
|
|
|
|
|
|
|
|
|
|
|
Worth mentioning is also `App\Helpers\UploadedJobConfigStorage` class which
|
|
|
|
Worth mentioning is also `App\Helpers\UploadedJobConfigStorage` class which
|
|
|
|
takes care of where the uploaded job configuration files should be saved on the
|
|
|
|
takes care of where the uploaded job configuration files should be saved on the
|
|
|
|
API filesystem. Can be also used for copying all job configurations during
|
|
|
|
API filesystem. It can also be used for copying all job configurations during
|
|
|
|
assignment of exercise.
|
|
|
|
assignment of exercise.
|
|
|
|
|
|
|
|
|
|
|
|
### Solution Loading
|
|
|
|
### Solution Loading
|
|
|
|