Skip to content

Validatable option parameters #7

@grkvlt

Description

@grkvlt

The parameters for an option should be validatable (beyond the allowed options property). This could be done by accepting a class name for a Predicate which tests if they are acceptable. Some standard predicates could allow things like regular expressions. For example:

@Option(name = "-v", validator = CheckValid.class)
String v;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions