Package org.daisy.cli

Class AbstractUI.Definition

  • Direct Known Subclasses:
    AbstractUI.Argument
    Enclosing class:
    AbstractUI

    public static class AbstractUI.Definition
    extends java.lang.Object
    Provides a definition, that is a name and a description
    Author:
    Joel HÃ¥kansson
    • Constructor Summary

      Constructors 
      Constructor Description
      Definition​(java.lang.String name, java.lang.String desc)
      Creates a new Definition.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Gets the description of the definition
      java.lang.String getName()
      Gets the name of the definition
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Definition

        public Definition​(java.lang.String name,
                          java.lang.String desc)
        Creates a new Definition.
        Parameters:
        name - the name of the definition
        desc - the description of the definition
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name of the definition
        Returns:
        returns the name
      • getDescription

        public java.lang.String getDescription()
        Gets the description of the definition
        Returns:
        returns the description