Application.Builder

public static class Application.Builder extends Object

Builder object for creating Application instance.

Field Summary

public H extends AbstractApplicationHelper helper

Public Constructor Summary

Application.Builder(Connector<ConnectorContext> connector, String[] args)
Builder for Application

Public Method Summary

Application<Application.ApplicationHelper, ConnectorContext>
build()
Create an instance of Application
B extends AbstractBuilder<B, H, T>
setCredentialFactory(CredentialFactory credentialFactory)
Creates a GoogleCredential object.
B extends AbstractBuilder<B, H, T>
setHelper(H helper)

Inherited Method Summary

Fields

public H extends AbstractApplicationHelper helper

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

public B extends AbstractBuilder<B, H, T> setCredentialFactory (CredentialFactory credentialFactory)

Creates a GoogleCredential object.

Parameters
credentialFactory
Returns

public B extends AbstractBuilder<B, H, T> setHelper (H helper)

Parameters
helper