Class CloudAccessToken

  • Direct Known Subclasses:
    AWSToken, FTPToken, OAuth2Token

    public abstract class CloudAccessToken
    extends java.lang.Object
    CloudAccessToken is an abstract class for all the different cloud access tokens : OAuth tokens, AWS tokens,FTP/SFTP tokens
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract com.google.gson.JsonObject getJSON()  
      java.lang.String getService()  
      void setService​(java.lang.String service)  
      • Methods inherited from class java.lang.Object

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

      • CloudAccessToken

        public CloudAccessToken()
    • Method Detail

      • getService

        public java.lang.String getService()
        Returns:
        which cloud service needs to be used for the output.
      • setService

        public void setService​(java.lang.String service)
        Parameters:
        service - Cloud service needs to be used for the output.
      • getJSON

        public abstract com.google.gson.JsonObject getJSON()
        Returns:
        JSONObject with the tags for the cloudAccesToken for the Cloud Office Print server.