/** {@inheritDoc} */ @Override public String toString() { return invite.getChannel() + "(" + Arrays.toString(invite.getSource()) + ")"; }
/** * Instantiates a new invite action. * * @param invite Invite for the action */ public InviteAction(final Invite invite) { super(invite.getChannel() + " (" + invite.getSource()[0] + ")"); this.invite = invite; }