Class UtilsImpl
- java.lang.Object
-
- org.jenkinsci.plugins.googleplayandroidpublisher.internal.UtilsImpl
-
- All Implemented Interfaces:
AndroidUtil,JenkinsUtil
public class UtilsImpl extends Object implements JenkinsUtil, AndroidUtil
-
-
Constructor Summary
Constructors Constructor Description UtilsImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.services.androidpublisher.AndroidPublishercreatePublisherClient(com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials credentials, String pluginVersion)static UtilsImplgetInstance()StringgetPluginVersion()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jenkinsci.plugins.googleplayandroidpublisher.internal.AndroidUtil
getApkMetadata, getApkPackageName, getApkVersionCode, getAppFileMetadata
-
-
-
-
Method Detail
-
getInstance
public static UtilsImpl getInstance()
-
getPluginVersion
public String getPluginVersion()
- Specified by:
getPluginVersionin interfaceJenkinsUtil- Returns:
- The version of this Jenkins plugin, e.g. "1.0" or "1.1-SNAPSHOT" (for dev releases).
-
createPublisherClient
public com.google.api.services.androidpublisher.AndroidPublisher createPublisherClient(com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials credentials, String pluginVersion) throws GeneralSecurityException- Specified by:
createPublisherClientin interfaceJenkinsUtil- Throws:
GeneralSecurityException
-
-