com.atlassian.bamboo.configuration
Interface ConfigurationMap

All Superinterfaces:
Map<String,String>
All Known Implementing Classes:
ConfigurationMapImpl

@PublicApi
public interface ConfigurationMap
extends Map<String,String>

A delegating Map implementation with type converters


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 boolean getAsBoolean(String key)
          Returns the value with the specified key as Boolean
 long getAsLong(String key)
          Returns the value with the specified key as Long
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getAsBoolean

boolean getAsBoolean(String key)
Returns the value with the specified key as Boolean

Parameters:
key -
Returns:
value as boolean

getAsLong

long getAsLong(String key)
               throws NumberFormatException
Returns the value with the specified key as Long

Parameters:
key -
Returns:
value as long
Throws:
NumberFormatException


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.