IndexingApplication.Builder

public static class IndexingApplication.Builder extends Object

Buider for IndexingApplication instances.

Field Summary

public H extends AbstractApplicationHelper helper

Public Constructor Summary

IndexingApplication.Builder(IndexingConnector connector, String[] args)
Builder for IndexingApplication

Public Method Summary

IndexingApplication
build()
B extends AbstractBuilder<B, H extends AbstractApplicationHelper, T extends ConnectorContext>
setCredentialFactory(CredentialFactory credentialFactory)
Creates a GoogleCredential object.
B extends AbstractBuilder<B, H extends AbstractApplicationHelper, T extends ConnectorContext>
setHelper(H extends AbstractApplicationHelper helper)
IndexingApplication.Builder

Inherited Method Summary

Fields

public H extends AbstractApplicationHelper helper

Public Constructors

public IndexingApplication.Builder (IndexingConnector connector, String[] args)

Builder for IndexingApplication

Parameters
connector instance
args command line arguments

Public Methods

public IndexingApplication build ()

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

Creates a GoogleCredential object.

Parameters
credentialFactory
Returns

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

Parameters
helper

public IndexingApplication.Builder setIndexingService (IndexingService indexingService)

Parameters
indexingService