This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Tang.Formats.ConfigurationModule Class Reference
Apache REEF  0.15.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

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

Member Function Documentation

void Org.Apache.REEF.Tang.Formats.ConfigurationModule.AssertStaticClean ( )
inline
IConfiguration Org.Apache.REEF.Tang.Formats.ConfigurationModule.Build ( )
inline
ConfigurationModule Org.Apache.REEF.Tang.Formats.ConfigurationModule.Set ( IParam< bool >  opt,
bool  val 
)
inline
ConfigurationModule Org.Apache.REEF.Tang.Formats.ConfigurationModule.Set< T > ( IImpl< IList< T >>  opt,
IList< string >  impl 
)
inline
ConfigurationModule Org.Apache.REEF.Tang.Formats.ConfigurationModule.Set< T > ( IParam< IList< T >>  opt,
IList< string >  impl 
)
inline
ConfigurationModule Org.Apache.REEF.Tang.Formats.ConfigurationModule.Set< T > ( IImpl< IList< T >>  opt,
IList< Type >  impl 
)
inline
Type Constraints
U :T 
Type Constraints
U :T 

Member Data Documentation

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

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