Class TwitterService
java.lang.Object
fr.paris.lutece.plugins.releaser.service.TwitterService
- All Implemented Interfaces:
ITwitterService
The Class TwitterService.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ITwitterServiceGets the service.voidinit()Configure la lib tweeter.voidsendTweet(String strTweet, CommandResult commandResult) Send tweet.
-
Constructor Details
-
TwitterService
public TwitterService()Instantiates a new twitter service.
-
-
Method Details
-
getService
Gets the service.- Returns:
- the service
-
sendTweet
Send tweet.- Specified by:
sendTweetin interfaceITwitterService- Parameters:
strTweet- the str tweetcommandResult- the command result
-
init
public void init()Configure la lib tweeter.- Specified by:
initin interfaceITwitterService
-