Class AnnotatedCommandProvider

    • Constructor Detail

      • AnnotatedCommandProvider

        public AnnotatedCommandProvider()
    • Method Detail

      • addParamConverter

        public void addParamConverter​(ParamConverter<?> converter)
        Adds a new param converter to this annotated command provider.
        Parameters:
        converter - the converter to add
      • addAnnotated

        public void addAnnotated​(Object annotated)
        Builds and adds a new command based on the given annotated object.
        Parameters:
        annotated - the annotated object to add
        Throws:
        InvalidAnnotatedObjectException - if the annotated object is malformed.