Class InternalChannelCommand

  • All Implemented Interfaces:
    BaseCommand

    @Immutable
    public abstract class InternalChannelCommand
    extends java.lang.Object
    implements BaseCommand
    • Constructor Detail

      • InternalChannelCommand

        public InternalChannelCommand()
    • Method Detail

      • getChannelName

        public abstract java.lang.String getChannelName()
      • create

        public static SuperCommand create​(java.lang.String commandId,
                                          java.lang.String channelName,
                                          int count)
        Create a super command that represents one or many internal channel commands.
        Parameters:
        commandId - required. All the internal channel commands created here will share the same commandId.
        channelName - required.
        count - required. It represents the number of internal channel commands to create.
        Returns:
        super command
      • create

        public static InternalChannelCommand create​(java.lang.String commandId,
                                                    java.lang.String channelName)
        Create one internal channel command.
        Parameters:
        commandId - required.
        channelName - required.
        Returns:
        internal channel command
      • create

        public static SuperCommand create​(java.lang.String channelName,
                                          int count)
        Create a super command that represents one or many internal channel commands.
        Parameters:
        channelName - required.
        count - required. It represents the number of internal channel commands to create.
        Returns:
        super command
      • create

        public static InternalChannelCommand create​(java.lang.String channelName)
        Create one internal channel command.
        Parameters:
        channelName - required.
        Returns:
        internal channel command