Class CliSchema

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.refcodes.mixin.AbstractSchema<CliSchema>
org.refcodes.cli.CliSchema
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>, org.refcodes.mixin.AliasAccessor, org.refcodes.mixin.ChildrenAccessor<org.refcodes.mixin.Schema<CliSchema>[]>, org.refcodes.mixin.DescriptionAccessor, org.refcodes.mixin.Schema<CliSchema>, org.refcodes.mixin.TypeAccessor, org.refcodes.mixin.ValueAccessor<Object>

public class CliSchema extends org.refcodes.mixin.AbstractSchema<CliSchema> implements org.refcodes.mixin.AliasAccessor, org.refcodes.mixin.DescriptionAccessor, org.refcodes.mixin.ValueAccessor<Object>
The purpose of a CliSchema is automatically generate documentation of Constituent structures.
See Also:
  • Constructor Details

    • CliSchema

      public CliSchema(Class<?> aType, String aDescription, CliSchema... aChildren)
    • CliSchema

      public CliSchema(Class<?> aType, String aAlias, String aDescription, CliSchema... aChildren)
    • CliSchema

      public CliSchema(Class<?> aType, String aAlias, String aDescription)
    • CliSchema

      public CliSchema(Class<?> aType, String aDescription)
    • CliSchema

      public CliSchema(Class<?> aType, String aDescription, Object aValue, CliSchema... aChildren)
      Instantiates a new CliSchema.
      Parameters:
      aType - the a type
      aDescription - the a description
      aValue - the a value
      aChildren - the a children
    • CliSchema

      public CliSchema(Class<?> aType, String aAlias, String aDescription, Object aValue, CliSchema... aChildren)
      Instantiates a new CliSchema.
      Parameters:
      aType - the a type
      aAlias - the a alias
      aDescription - the a description
      aValue - the a value
      aChildren - the a children
    • CliSchema

      public CliSchema(Class<?> aType, String aAlias, String aDescription, Object aValue)
      Instantiates a new CliSchema.
      Parameters:
      aType - the a type
      aAlias - the a alias
      aDescription - the a description
      aValue - the a value
    • CliSchema

      public CliSchema(Class<?> aType, String aDescription, Object aValue)
      Instantiates a new CliSchema.
      Parameters:
      aType - the a type
      aDescription - the a description
      aValue - the a value
    • CliSchema

      public CliSchema(CliSchema aSchema, CliSchema... aChildren)
    • CliSchema

      public CliSchema(CliSchema aSchema)
  • Method Details

    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.refcodes.mixin.DescriptionAccessor
    • getAlias

      public String getAlias()
      Specified by:
      getAlias in interface org.refcodes.mixin.AliasAccessor
    • getValue

      public Object getValue()
      Specified by:
      getValue in interface org.refcodes.mixin.ValueAccessor<Object>