Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing configuration arguments and enforce logical consistency of configuration. #2

Open
carlwilson opened this issue Feb 3, 2015 · 0 comments

Comments

@carlwilson
Copy link
Member

The veraPDFTaskConfig class provides a single entry point for configuring an invocation of the veraPDF software. The class is based on the options described in section 6 of the Functional Specification document, "Functionality and interfaces".

There are two issues combined here:

  • Not all arguments described in the functional specification are present.
  • Some combination or arguments are inadmissible / logically inconsistent.

Reading the scenarios in the specification should highlight config parameters that aren't implemented yet, these should be added.

The specification highlights some other requirements, e.g. if the -pdfa argument isn't present the -profile argument MUST be. Some basic boundary condition checks are present, e.g. legal values for verbosity and stoperrors. These are implemented as Guava Preconditions.

The task is to read the specification and add arguments / preconditions as required. This may highlight inconsistencies in the specification. If the answer is obvious then change the specification and adopt the "common sense" answer. Where there are questions simply flag them in the code / specification for clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants