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 Details

    • TwitterService

      public TwitterService()
      Instantiates a new twitter service.
  • Method Details

    • getService

      public static ITwitterService getService()
      Gets the service.
      Returns:
      the service
    • sendTweet

      public void sendTweet(String strTweet, CommandResult commandResult)
      Send tweet.
      Specified by:
      sendTweet in interface ITwitterService
      Parameters:
      strTweet - the str tweet
      commandResult - the command result
    • init

      public void init()
      Configure la lib tweeter.
      Specified by:
      init in interface ITwitterService