This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Client.API.AppParametersBuilder Class Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Public Member Functions | Static Public Member Functions | List of all members
Org.Apache.REEF.Client.API.AppParametersBuilder Class Reference

A builder for AppParameters. More...

Public Member Functions

AppParametersBuilder AddGlobalFile (string fileName)
 Add a file to be made available in all containers. More...
 
AppParametersBuilder AddLocalFile (string fileName)
 Add a file to be made available only on the driver. More...
 
AppParametersBuilder AddGlobalAssembly (string fileName)
 Add an assembly to be made available on all containers. More...
 
AppParametersBuilder AddLocalAssembly (string fileName)
 Add an assembly to the driver only. More...
 
AppParametersBuilder AddDriverConfiguration (IConfiguration configuration)
 Add a Configuration to the Driver. More...
 
AppParametersBuilder AddDriverConfigurationProviders (IEnumerable< IConfigurationProvider > configurationProviders)
 Adds a driver configuration provider for configurations of the Driver. More...
 
AppParametersBuilder AddLocalAssemblyForType (Type type)
 Add the assembly needed for the given Type to the driver. More...
 
AppParametersBuilder AddGlobalAssemblyForType (Type type)
 Add the assembly needed for the given Type to all containers. More...
 
AppParametersBuilder SetDriverConfigurationFileContents (string driverConfigurationFileContents)
 Driver config file contents (Org.Apache.REEF.Bridge.exe.config) contents Can be use to redirect assembly versions More...
 
AppParameters Build ()
 Builds the application parameters. More...
 

Static Public Member Functions

static AppParametersBuilder NewBuilder ()
 Creates a new AppParametersBuilder. More...
 

Detailed Description

A builder for AppParameters.

Member Function Documentation

AppParametersBuilder Org.Apache.REEF.Client.API.AppParametersBuilder.AddDriverConfiguration ( IConfiguration  configuration)
inline

Add a Configuration to the Driver.

AppParametersBuilder Org.Apache.REEF.Client.API.AppParametersBuilder.AddDriverConfigurationProviders ( IEnumerable< IConfigurationProvider configurationProviders)
inline

Adds a driver configuration provider for configurations of the Driver.

AppParametersBuilder Org.Apache.REEF.Client.API.AppParametersBuilder.AddGlobalAssembly ( string  fileName)
inline

Add an assembly to be made available on all containers.

Parameters
fileName
Returns
AppParametersBuilder Org.Apache.REEF.Client.API.AppParametersBuilder.AddGlobalAssemblyForType ( Type  type)
inline

Add the assembly needed for the given Type to all containers.

AppParametersBuilder Org.Apache.REEF.Client.API.AppParametersBuilder.AddGlobalFile ( string  fileName)
inline

Add a file to be made available in all containers.

Parameters
fileName
Returns
AppParametersBuilder Org.Apache.REEF.Client.API.AppParametersBuilder.AddLocalAssembly ( string  fileName)
inline

Add an assembly to the driver only.

Parameters
fileName
Returns
AppParametersBuilder Org.Apache.REEF.Client.API.AppParametersBuilder.AddLocalAssemblyForType ( Type  type)
inline

Add the assembly needed for the given Type to the driver.

AppParametersBuilder Org.Apache.REEF.Client.API.AppParametersBuilder.AddLocalFile ( string  fileName)
inline

Add a file to be made available only on the driver.

Parameters
fileName
Returns
AppParameters Org.Apache.REEF.Client.API.AppParametersBuilder.Build ( )
inline

Builds the application parameters.

static AppParametersBuilder Org.Apache.REEF.Client.API.AppParametersBuilder.NewBuilder ( )
inlinestatic

Creates a new AppParametersBuilder.

AppParametersBuilder Org.Apache.REEF.Client.API.AppParametersBuilder.SetDriverConfigurationFileContents ( string  driverConfigurationFileContents)
inline

Driver config file contents (Org.Apache.REEF.Bridge.exe.config) contents Can be use to redirect assembly versions

Parameters
driverConfigurationFileContentsDriver configuration file contents.

The documentation for this class was generated from the following file: