Apache REEF  0.16.0
Retainable Evaluator Execution Framework
Public Member Functions | Public Attributes | List of all members
Org.Apache.REEF.Tang.Formats.ConfigurationModule Class Reference

Allows applications to bundle sets of configuration options together into discrete packages. More...

Public Member Functions

 ConfigurationModule (ConfigurationModuleBuilder builder)
 
ConfigurationModule Set< T, U > (IImpl< T > opt, GenericType< U > impl)
 
ConfigurationModule Set< T > (IImpl< T > opt, string impl)
 
ConfigurationModule Set< T, U > (IParam< T > opt, GenericType< U > val)
 
ConfigurationModule Set (IParam< bool > opt, bool val)
 
ConfigurationModule Set< T > (IParam< T > opt, string val)
 
ConfigurationModule Set< T > (IImpl< IList< T >> opt, IList< string > impl)
 
ConfigurationModule Set< T > (IParam< IList< T >> opt, IList< string > impl)
 
ConfigurationModule Set< T > (IImpl< IList< T >> opt, IList< Type > impl)
 
IConfiguration Build ()
 
void AssertStaticClean ()
 

Public Attributes

readonly ConfigurationModuleBuilder Builder
 

Detailed Description

Allows applications to bundle sets of configuration options together into discrete packages.

Unlike more conventional approaches, ConfigurationModules store such information in static data structures that can be statically discovered and sanity-checked.

See also
Org.Apache.REEF.Tang.Formats.TestConfigurationModule for more information and examples.

Constructor & Destructor Documentation

◆ ConfigurationModule()

Org.Apache.REEF.Tang.Formats.ConfigurationModule.ConfigurationModule ( ConfigurationModuleBuilder  builder)
inline

Member Function Documentation

◆ AssertStaticClean()

void Org.Apache.REEF.Tang.Formats.ConfigurationModule.AssertStaticClean ( )
inline

◆ Build()

IConfiguration Org.Apache.REEF.Tang.Formats.ConfigurationModule.Build ( )
inline

◆ Set()

ConfigurationModule Org.Apache.REEF.Tang.Formats.ConfigurationModule.Set ( IParam< bool >  opt,
bool  val 
)
inline

◆ Set< T >() [1/5]

◆ Set< T >() [2/5]

◆ Set< T >() [3/5]

ConfigurationModule Org.Apache.REEF.Tang.Formats.ConfigurationModule.Set< T > ( IImpl< IList< T >>  opt,
IList< string >  impl 
)
inline

◆ Set< T >() [4/5]

ConfigurationModule Org.Apache.REEF.Tang.Formats.ConfigurationModule.Set< T > ( IParam< IList< T >>  opt,
IList< string >  impl 
)
inline

◆ Set< T >() [5/5]

ConfigurationModule Org.Apache.REEF.Tang.Formats.ConfigurationModule.Set< T > ( IImpl< IList< T >>  opt,
IList< Type >  impl 
)
inline

◆ Set< T, U >() [1/2]

Type Constraints
U :T 

◆ Set< T, U >() [2/2]

Type Constraints
U :T 

Member Data Documentation

◆ Builder

readonly ConfigurationModuleBuilder Org.Apache.REEF.Tang.Formats.ConfigurationModule.Builder

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