Class SimpleCommandMeta.Builder

    • Method Summary

      Modifier and Type Method Description
      @NonNull SimpleCommandMeta build()
      Construct a new meta instance
      @NonNull SimpleCommandMeta.Builder with​(@NonNull CommandMeta commandMeta)
      Copy all values from another command meta instance
      @NonNull SimpleCommandMeta.Builder with​(@NonNull java.lang.String key, @NonNull java.lang.String value)
      Store a new key-value pair in the meta map
      • Methods inherited from class java.lang.Object

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

      • with

        public @NonNull SimpleCommandMeta.Builder with​(@NonNull CommandMeta commandMeta)
        Copy all values from another command meta instance
        Parameters:
        commandMeta - Existing instance
        Returns:
        Builder instance
      • with

        public @NonNull SimpleCommandMeta.Builder with​(@NonNull java.lang.String key,
                                                       @NonNull java.lang.String value)
        Store a new key-value pair in the meta map
        Parameters:
        key - Key
        value - Value
        Returns:
        Builder instance
      • build

        public @NonNull SimpleCommandMeta build()
        Construct a new meta instance
        Returns:
        Meta instance