Brooklyn

brooklyn.util.internal
[Java] Interface ConfigKeySelfExtracting

brooklyn.util.internal.ConfigKeySelfExtracting
  brooklyn.entity.ConfigKey
All Superinterfaces:
ConfigKey

@SuppressWarnings("deprecation")
public interface ConfigKeySelfExtracting
extends ConfigKey

Interface for resolving key values; typically implemented by the config key, but discouraged for external usage.


Method Summary
java.lang.Object extractValue(java.util.Map configMap, ExecutionContext exec)

Extracts the value for this config key from the given map.

boolean isSet(java.util.Map configMap)

@return True if there is an entry in the configMap that could be extracted

 
Methods inherited from interface ConfigKey
getDefaultValue, getDescription, getName, getNameParts, getType, getTypeName, hasDefaultValue
 

Method Detail

extractValue

public java.lang.Object extractValue(java.util.Map configMap, ExecutionContext exec)
Extracts the value for this config key from the given map.


isSet

public boolean isSet(java.util.Map configMap)
Returns:
True if there is an entry in the configMap that could be extracted


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.