public static class
Application.Builder
extends Object
Builder object for creating Application
instance.
Field Summary
public H extends AbstractApplicationHelper | helper |
Public Constructor Summary
Public Method Summary
Application<Application.ApplicationHelper, ConnectorContext> |
build()
Create an instance of
Application |
B extends AbstractBuilder<B, H, T> | |
B extends AbstractBuilder<B, H, T> |
setHelper(H helper)
|
Inherited Method Summary
Fields
Public Constructors
public Application.Builder (Connector<ConnectorContext> connector, String[] args)
Builder for Application
Parameters
connector | instance |
---|---|
args | command line arguments |
Public Methods
public Application<Application.ApplicationHelper, ConnectorContext> build ()
Create an instance of Application
Throws
StartupException |
---|
public B extends AbstractBuilder<B, H, T> setCredentialFactory (CredentialFactory credentialFactory)
Creates a GoogleCredential object.
Parameters
credentialFactory |
---|
Returns
CredentialFactory
object for creatingGoogleCredential
instance.
public B extends AbstractBuilder<B, H, T> setHelper (H helper)
Parameters
helper |
---|