com.atlassian.bamboo.configuration
Interface ConfigurationMap

All Superinterfaces:
java.util.Map<java.lang.String,java.lang.String>
All Known Implementing Classes:
ConfigurationMapImpl

public interface ConfigurationMap
extends java.util.Map<java.lang.String,java.lang.String>

A delegating Map implementation with type converters


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 boolean getAsBoolean(java.lang.String key)
          Returns the value with the specified key as Boolean
 long getAsLong(java.lang.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(java.lang.String key)
Returns the value with the specified key as Boolean

Parameters:
key -
Returns:
value as boolean

getAsLong

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

Parameters:
key -
Returns:
value as long
Throws:
java.lang.NumberFormatException


Copyright © 2012 Atlassian. All Rights Reserved.