org.ops4j.pax.runner
Interface OptionResolver

All Known Implementing Classes:
OptionResolverImpl

public interface OptionResolver

Resolvs options by name.

Since:
August 26, 2007
Author:
Alin Dreghiciu

Method Summary
 java.lang.String get(java.lang.String name)
          Returns the value of option.
 java.lang.String getMandatory(java.lang.String name)
          Returns the value of option.
 

Method Detail

get

java.lang.String get(java.lang.String name)
Returns the value of option.

Parameters:
name - option name
Returns:
found value.

getMandatory

java.lang.String getMandatory(java.lang.String name)
Returns the value of option. If value is null thrwos IllegalArgumentException.

Parameters:
name - option name
Returns:
found value.


Copyright © 2008. All Rights Reserved.