Class CommandResultDefinition<DataType>

    • Constructor Detail

      • CommandResultDefinition

        protected CommandResultDefinition​(String name,
                                          Class<DataType> type)
    • Method Detail

      • getName

        public String getName()
        The name of the result. Must be camelCase and alphanumeric.
      • getDescription

        public String getDescription()
        The description of the result. Used in generated help documentation.
      • getDataType

        public Class<DataType> getDataType()
        The datatype of the result.
      • getDefaultValue

        public DataType getDefaultValue()
        The default value to use if no value was provided.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object