Class CrowdinConnectorPlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
io.meeds.gamification.plugin.ConnectorPlugin
io.meeds.crowdin.gamification.plugin.CrowdinConnectorPlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

@Component public class CrowdinConnectorPlugin extends io.meeds.gamification.plugin.ConnectorPlugin
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    com.github.scribejava.core.oauth.OAuth20Service
    getOAuthService(io.meeds.gamification.model.RemoteConnectorSettings remoteConnectorSettings)
     
    void
     
     

    Methods inherited from class io.meeds.gamification.plugin.ConnectorPlugin

    enabled, validateToken

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CrowdinConnectorPlugin

      public CrowdinConnectorPlugin()
  • Method Details

    • initData

      @PostConstruct public void initData()
    • getConnectorName

      public String getConnectorName()
      Specified by:
      getConnectorName in class io.meeds.gamification.plugin.ConnectorPlugin
    • getName

      public String getName()
      Specified by:
      getName in interface org.exoplatform.container.component.ComponentPlugin
      Overrides:
      getName in class org.exoplatform.container.component.BaseComponentPlugin
    • validateToken

      public String validateToken(String code) throws io.meeds.oauth.exception.OAuthException
      Overrides:
      validateToken in class io.meeds.gamification.plugin.ConnectorPlugin
      Throws:
      io.meeds.oauth.exception.OAuthException
    • getOAuthService

      public com.github.scribejava.core.oauth.OAuth20Service getOAuthService(io.meeds.gamification.model.RemoteConnectorSettings remoteConnectorSettings)