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> | |
B extends AbstractBuilder<B, H extends AbstractApplicationHelper, T extends ConnectorContext> |
setHelper(H extends AbstractApplicationHelper helper)
|
IndexingApplication.Builder |
setIndexingService(IndexingService indexingService)
|
Inherited Method Summary
Fields
Public Constructors
public IndexingApplication.Builder (IndexingConnector connector, String[] args)
Builder for IndexingApplication
Parameters
connector | instance |
---|---|
args | command line arguments |
Public Methods
public B extends AbstractBuilder<B, H extends AbstractApplicationHelper, T extends ConnectorContext> setCredentialFactory (CredentialFactory credentialFactory)
Creates a GoogleCredential object.
Parameters
credentialFactory |
---|
Returns
ERROR(/CredentialFactory)
object for creatingERROR(/GoogleCredential)
instance.
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 |
---|