Commit 6e5a1f89 authored by Charmed Baryon's avatar Charmed Baryon

Change groupId to org.proticity.

parent 32d3a5f1
Pipeline #57733066 passed with stages
in 4 minutes and 8 seconds
......@@ -16,7 +16,7 @@ Maven:
```xml
<dependencies>
<dependency>
<groupId>com.proticity.irc</groupId>
<groupId>org.proticity</groupId>
<artifactId>reactive-irc-client</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
......
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.proticity</groupId>
<groupId>org.proticity</groupId>
<artifactId>java-next-pom</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<groupId>com.proticity.irc</groupId>
<artifactId>reactive-irc-client</artifactId>
<version>1.0.0-SNAPSHOT</version>
......
module com.proticity.irc.client {
exports com.proticity.irc.client;
exports com.proticity.irc.client.command;
exports com.proticity.irc.client.transport;
module org.proticity.irc.client {
exports org.proticity.irc.client;
exports org.proticity.irc.client.command;
exports org.proticity.irc.client.transport;
requires io.netty.buffer;
requires io.netty.codec.http;
......
package com.proticity.irc.client;
import com.proticity.irc.client.command.Capability;
import com.proticity.irc.client.command.InvalidCommand;
import com.proticity.irc.client.command.IrcCommand;
import com.proticity.irc.client.command.PingCommand;
import com.proticity.irc.client.parser.IrcParseException;
import com.proticity.irc.client.parser.IrcParser;
import com.proticity.irc.client.transport.TcpTransport;
import com.proticity.irc.client.transport.Transport;
import com.proticity.irc.client.transport.WebSocketTransport;
package org.proticity.irc.client;
import org.proticity.irc.client.command.Capability;
import org.proticity.irc.client.command.InvalidCommand;
import org.proticity.irc.client.command.IrcCommand;
import org.proticity.irc.client.command.PingCommand;
import org.proticity.irc.client.parser.IrcParseException;
import org.proticity.irc.client.parser.IrcParser;
import org.proticity.irc.client.transport.TcpTransport;
import org.proticity.irc.client.transport.Transport;
import org.proticity.irc.client.transport.WebSocketTransport;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.util.annotation.NonNull;
......@@ -449,7 +449,7 @@ public class IrcClient {
* Enables suppression of parse errors on commands from the server.
*
* If enabled, this option will prevent errors from being emitted for parse exceptions from
* {@link IrcClient#commands()}. Instead an {@link com.proticity.irc.client.command.InvalidCommand} will be
* {@link IrcClient#commands()}. Instead an {@link InvalidCommand} will be
* automatically substituted for such errors in the command stream.
*
* @return The instance of the {@link IrcClientBuilder}.
......@@ -462,7 +462,7 @@ public class IrcClient {
* Control whether to suppress parse errors on commands from the server.
*
* If enabled, this option will prevent errors from being emitted for parse exceptions from
* {@link IrcClient#commands()}. Instead an {@link com.proticity.irc.client.command.InvalidCommand} will be
* {@link IrcClient#commands()}. Instead an {@link InvalidCommand} will be
* automatically substituted for such errors in the command stream.
*
* @param enabled Whether to enable parse error suppression.
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
import reactor.util.annotation.Nullable;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
import reactor.util.annotation.Nullable;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import org.proticity.irc.client.parser.IrcInput;
import reactor.util.annotation.NonNull;
import java.util.Optional;
......@@ -12,7 +13,7 @@ import java.util.function.Function;
* the IRC specification or any extension known to this library. An invalid command typically should be ignored by the
* client application, but logged in some way.
*
* By default when {@link com.proticity.irc.client.parser.IrcInput} encounters an error during processing of input it
* By default when {@link IrcInput} encounters an error during processing of input it
* will emit an error. In cases where it is necessary to handle the input without terminating the pipeline this command
* can be used, such as via {@link reactor.core.publisher.Flux#onErrorResume(Function)} and building an
* InvalidCommand to be returned.
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
import reactor.util.annotation.Nullable;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
import reactor.util.annotation.Nullable;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
import reactor.util.annotation.Nullable;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
import java.util.Objects;
public class SQueryCommand extends MessageCommand<User> {
public SQueryCommand(@NonNull CommandBuilder builder) {
super(builder, new User(builder.getParameter(0)));
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
import reactor.util.annotation.Nullable;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command;
package org.proticity.irc.client.command;
import reactor.util.annotation.NonNull;
import reactor.util.annotation.Nullable;
......
package com.proticity.irc.client.command.twitch;
package org.proticity.irc.client.command.twitch;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.command.twitch;
package org.proticity.irc.client.command.twitch;
import com.proticity.irc.client.command.CommandBuilder;
import com.proticity.irc.client.command.MessageCommand;
import com.proticity.irc.client.command.User;
import com.proticity.irc.client.parser.IrcParseException;
import org.proticity.irc.client.command.CommandBuilder;
import org.proticity.irc.client.command.MessageCommand;
import org.proticity.irc.client.command.User;
import reactor.util.annotation.NonNull;
import java.util.Objects;
public class WhisperCommand extends MessageCommand<User> implements TwitchCommand {
public WhisperCommand(@NonNull CommandBuilder builder) {
super(builder, new User(builder.getParameter(0)));
......
package com.proticity.irc.client.parser;
package org.proticity.irc.client.parser;
import com.proticity.irc.client.command.*;
import com.proticity.irc.client.command.twitch.WhisperCommand;
import org.proticity.irc.client.command.Capability;
import org.proticity.irc.client.command.Channel;
import org.proticity.irc.client.command.CommandBuilder;
import org.proticity.irc.client.command.ErrorCommand;
import org.proticity.irc.client.command.InvalidCommand;
import org.proticity.irc.client.command.InviteCommand;
import org.proticity.irc.client.command.IrcCommand;
import org.proticity.irc.client.command.JoinCommand;
import org.proticity.irc.client.command.MessageCommand;
import org.proticity.irc.client.command.ModeCommand;
import org.proticity.irc.client.command.NickCommand;
import org.proticity.irc.client.command.NicknamePrefix;
import org.proticity.irc.client.command.NoticeCommand;
import org.proticity.irc.client.command.NumericReplyCommand;
import org.proticity.irc.client.command.PartCommand;
import org.proticity.irc.client.command.PingCommand;
import org.proticity.irc.client.command.PongCommand;
import org.proticity.irc.client.command.PrivmsgCommand;
import org.proticity.irc.client.command.SQueryCommand;
import org.proticity.irc.client.command.ServerPrefix;
import org.proticity.irc.client.command.TagKey;
import org.proticity.irc.client.command.TopicCommand;
import org.proticity.irc.client.command.User;
import org.proticity.irc.client.command.twitch.WhisperCommand;
import reactor.core.publisher.Flux;
import reactor.core.publisher.FluxSink;
import reactor.util.annotation.NonNull;
import reactor.util.annotation.Nullable;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Optional;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
......
package com.proticity.irc.client.parser;
package org.proticity.irc.client.parser;
import reactor.util.annotation.NonNull;
......
package com.proticity.irc.client.parser;
package org.proticity.irc.client.parser;
import com.proticity.irc.client.command.IrcCommand;
import org.proticity.irc.client.command.IrcCommand;
import reactor.core.publisher.Flux;
/**
......
package com.proticity.irc.client.transport;
package org.proticity.irc.client.transport;
import org.reactivestreams.Publisher;
import reactor.core.publisher.Flux;
......
package com.proticity.irc.client.transport;
package org.proticity.irc.client.transport;
import org.reactivestreams.Publisher;
import reactor.core.publisher.Flux;
......
package com.proticity.irc.client.transport;
package org.proticity.irc.client.transport;
import io.netty.handler.codec.http.websocketx.TextWebSocketFrame;
import org.reactivestreams.Publisher;
......
......@@ -3,8 +3,8 @@
*
* IRC generally is communicated over a raw TCP connection or one tunneled through TLS. However
* Twitch supports IRC over Websockets as well. The
* {@link com.proticity.irc.client.transport.Transport} mechanism allows the protocol parsing and
* {@link org.proticity.irc.client.transport.Transport} mechanism allows the protocol parsing and
* responses to be separated from the means by which it is communicated so it can work with these
* extensions.
*/
package com.proticity.irc.client.transport;
package org.proticity.irc.client.transport;
package com.proticity.irc.client;
package org.proticity.irc.client;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
......
package com.proticity.irc.client.parser;
package org.proticity.irc.client.parser;
import com.proticity.irc.client.command.Channel;
import com.proticity.irc.client.command.CommandBuilder;
import com.proticity.irc.client.command.ErrorCommand;
import com.proticity.irc.client.command.InviteCommand;
import com.proticity.irc.client.command.IrcCommand;
import com.proticity.irc.client.command.JoinCommand;
import com.proticity.irc.client.command.NickCommand;
import com.proticity.irc.client.command.NicknamePrefix;
import com.proticity.irc.client.command.NoticeCommand;
import com.proticity.irc.client.command.NumericReplyCommand;
import com.proticity.irc.client.command.PartCommand;
import com.proticity.irc.client.command.PingCommand;
import com.proticity.irc.client.command.PongCommand;
import com.proticity.irc.client.command.PrivmsgCommand;
import com.proticity.irc.client.command.SQueryCommand;
import com.proticity.irc.client.command.ServerPrefix;
import com.proticity.irc.client.command.TagKey;
import com.proticity.irc.client.command.TopicCommand;
import com.proticity.irc.client.command.User;
import com.proticity.irc.client.command.twitch.WhisperCommand;
import org.proticity.irc.client.command.Channel;
import org.proticity.irc.client.command.CommandBuilder;
import org.proticity.irc.client.command.ErrorCommand;
import org.proticity.irc.client.command.InviteCommand;
import org.proticity.irc.client.command.IrcCommand;
import org.proticity.irc.client.command.JoinCommand;
import org.proticity.irc.client.command.NickCommand;
import org.proticity.irc.client.command.NicknamePrefix;
import org.proticity.irc.client.command.NoticeCommand;
import org.proticity.irc.client.command.NumericReplyCommand;
import org.proticity.irc.client.command.PartCommand;
import org.proticity.irc.client.command.PingCommand;
import org.proticity.irc.client.command.PongCommand;
import org.proticity.irc.client.command.PrivmsgCommand;
import org.proticity.irc.client.command.SQueryCommand;
import org.proticity.irc.client.command.ServerPrefix;
import org.proticity.irc.client.command.TagKey;
import org.proticity.irc.client.command.TopicCommand;
import org.proticity.irc.client.command.User;
import org.proticity.irc.client.command.twitch.WhisperCommand;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
......
package com.proticity.irc.client.parser;
package org.proticity.irc.client.parser;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
public class IrcParseExceptionTest {
@Test
public void testExceptionProperties() {
......
package com.proticity.irc.client.parser;
package org.proticity.irc.client.parser;
import com.proticity.irc.client.command.Channel;
import com.proticity.irc.client.command.PrivmsgCommand;
import org.proticity.irc.client.command.Channel;
import org.proticity.irc.client.command.PrivmsgCommand;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Flux;
......
package com.proticity.irc.client.transport;
package org.proticity.irc.client.transport;
public class TcpTransportTest {
}
package com.proticity.irc.client.transport;
package org.proticity.irc.client.transport;
import org.junit.jupiter.api.AfterEach;
import reactor.netty.DisposableServer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment