Class TwitterService
- java.lang.Object
-
- fr.paris.lutece.plugins.releaser.service.TwitterService
-
- All Implemented Interfaces:
ITwitterService
public class TwitterService extends Object implements ITwitterService
The Class TwitterService.
-
-
Constructor Summary
Constructors Constructor Description TwitterService()Instantiates a new twitter service.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ITwitterServicegetService()Gets the service.voidinit()Configure la lib tweeter.voidsendTweet(String strTweet, CommandResult commandResult)Send tweet.
-
-
-
Method Detail
-
getService
public static ITwitterService getService()
Gets the service.- Returns:
- the service
-
sendTweet
public void sendTweet(String strTweet, CommandResult commandResult)
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
-
-