パッケージ org.thinkit.bot.twitter
クラス TwitterBotJ
java.lang.Object
org.thinkit.bot.twitter.AbstractTwitterBot
org.thinkit.bot.twitter.TwitterBotJ
- すべての実装されたインタフェース:
Serializable
,TwitterBot
public final class TwitterBotJ extends AbstractTwitterBot
The class that manages the command of Twitter bot.
- 導入されたバージョン:
- 1.0.0
- 関連項目:
- 直列化された形式
-
メソッドの概要
修飾子とタイプ メソッド 説明 AutoShowUserResult
executeAutoShowUser(String userName)
Executes the auto show user and returns the command result.AutoTweetResult
executeAutoTweet(Tweet tweet)
Executes the auto tweet command and returns the command result.static TwitterBot
from(twitter4j.conf.Configuration twitterConfiguration)
Returns the new instance ofTwitterBotJ
based on the twitter confguration passed as an argument.
-
メソッドの詳細
-
from
Returns the new instance ofTwitterBotJ
based on the twitter confguration passed as an argument.- パラメータ:
twitterConfiguration
- The twitter argument- 戻り値:
- The new instance of
TwitterBotJ
- 例外:
NullPointerException
- Ifnull
is passed as an argument
-
executeAutoTweet
インタフェースからコピーされた説明:TwitterBot
Executes the auto tweet command and returns the command result.- パラメータ:
tweet
- The tweet- 戻り値:
- The command result
-
executeAutoShowUser
インタフェースからコピーされた説明:TwitterBot
Executes the auto show user and returns the command result.- パラメータ:
userName
- The user name- 戻り値:
- The command result
-