ikasan-client

Ikasan client for Java

License

License

Categories

Categories

Net CLI User Interface
GroupId

GroupId

net.moznion
ArtifactId

ArtifactId

ikasan-client
Last Version

Last Version

3.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

ikasan-client
Ikasan client for Java
Project URL

Project URL

https://github.com/moznion/java-ikasan-client
Source Code Management

Source Code Management

https://github.com/moznion/java-ikasan-client

Download ikasan-client

How to add to project

<!-- https://jarcasting.com/artifacts/net.moznion/ikasan-client/ -->
<dependency>
    <groupId>net.moznion</groupId>
    <artifactId>ikasan-client</artifactId>
    <version>3.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/net.moznion/ikasan-client/
implementation 'net.moznion:ikasan-client:3.1.1'
// https://jarcasting.com/artifacts/net.moznion/ikasan-client/
implementation ("net.moznion:ikasan-client:3.1.1")
'net.moznion:ikasan-client:jar:3.1.1'
<dependency org="net.moznion" name="ikasan-client" rev="3.1.1">
  <artifact name="ikasan-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.moznion', module='ikasan-client', version='3.1.1')
)
libraryDependencies += "net.moznion" % "ikasan-client" % "3.1.1"
[net.moznion/ikasan-client "3.1.1"]

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.httpcomponents : httpclient jar 4.5
net.moznion : uribuilder-tiny jar 2.1.0

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.14.8

test (3)

Group / Artifact Type Version
junit : junit jar 4.11
com.google.code.findbugs : findbugs jar 3.0.0
me.geso : servlettester-jetty jar 0.1.0

Project Modules

There are no modules declared in this project.

java-ikasan-client Build Status

Synopsis

BasicHipChatIkasanClientBuilder builder = BasicHipChatIkasanClient.builder("ikasan.example.com")
    .port(8080)       // Default: 4979
    .useSSL(true)     // Default: false
    .verifySSL(true); // Default: true (This option will be activated only when `useSSL` is true)

BasicHipChatIkasanClient ikasanClient = builder.build();

// send notice
ikasanClient.notice("channel", "message")
    .color(HipChatColor.RANDOM)               // Default: HipChatColor.YELLOW
    .messageFormat(HipChatMessageFormat.HTML) // Default: HipChatMessageFormat.TEXT
    .nickname("nick")                         // Default: "ikasan"
    .send();

// send privmsg
ikasanClient.privmsg("channel", "message")
    .color(HipChatColor.RANDOM)               // Default: HipChatColor.YELLOW
    .messageFormat(HipChatMessageFormat.HTML) // Default: HipChatMessageFormat.TEXT
    .nickname("nick")                         // Default: "ikasan"
    .send();

Description

ikasan client for Java (8 or later).

See Also

Author

moznion ([email protected])

License

The MIT License (MIT)
Copyright © 2015 moznion, http://moznion.net/ <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Versions

Version
3.1.1
3.1.0
3.0.0
2.2.1
2.2.0
2.1.1
2.1.0
2.0.1
2.0.0
1.0.0