Interface Component

All Known Implementing Classes:
DefaultComponent

public interface Component
  • Method Details

    • ofRawMessage

      @NotNull static @NotNull Component ofRawMessage(@NotNull @NotNull String rawMessage)
    • ofJsonEncodedMessage

      @NotNull static @NotNull Component ofJsonEncodedMessage(@NotNull @NotNull String jsonEncodedMessage)
    • ofJsonEncodedOrRaw

      @Contract("null, null -> fail") @NotNull static @NotNull Component ofJsonEncodedOrRaw(@Nullable @Nullable String rawMessage, @Nullable @Nullable String jsonEncodedMessage)
    • rawMessage

      @Nullable @Nullable String rawMessage()
    • encodedJsonMessage

      @Nullable @Nullable String encodedJsonMessage()