Application.AbstractBuilder

protected static abstract class Application.AbstractBuilder extends Object
Known Direct Subclasses

Field Summary

protected String[] args
protected Connector<T extends ConnectorContext> connector
protected CredentialFactory credentialFactory
public H extends AbstractApplicationHelper helper

Public Constructor Summary

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

Public Method Summary

abstract Application<H, T>
build()
B
setCredentialFactory(CredentialFactory credentialFactory)
Creates a GoogleCredential object.
B
setHelper(H helper)

Protected Method Summary

abstract B
void

Inherited Method Summary

Fields

protected String[] args

protected Connector<T extends ConnectorContext> connector

protected CredentialFactory credentialFactory

public H extends AbstractApplicationHelper helper

Public Constructors

public Application.AbstractBuilder (Connector<T> connector, String[] args)

Builder for Application

Parameters
connector instance
args command line arguments

Public Methods

public abstract Application<H, T> build ()

public B setCredentialFactory (CredentialFactory credentialFactory)

Creates a GoogleCredential object.

Parameters
credentialFactory
Returns

public B setHelper (H helper)

Parameters
helper

Protected Methods

protected abstract B getThis ()

protected void initConfig ()

Send feedback about...

Cloud Search
Cloud Search