org.codehaus.plexus.context
Class DefaultContext

java.lang.Object
  extended by org.codehaus.plexus.context.DefaultContext
All Implemented Interfaces:
Context

public class DefaultContext
extends Object
implements Context


Field Summary
protected  Map<Object,Object> contextData
           
 
Constructor Summary
DefaultContext()
           
DefaultContext(Map<?,?> context)
           
 
Method Summary
 boolean contains(Object key)
           
 Object get(Object key)
           
 Map<Object,Object> getContextData()
           
 void put(Object key, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

contextData

protected final Map<Object,Object> contextData
Constructor Detail

DefaultContext

public DefaultContext()

DefaultContext

public DefaultContext(Map<?,?> context)
Method Detail

contains

public boolean contains(Object key)
Specified by:
contains in interface Context

put

public void put(Object key,
                Object value)
Specified by:
put in interface Context

get

public Object get(Object key)
           throws ContextException
Specified by:
get in interface Context
Throws:
ContextException

getContextData

public Map<Object,Object> getContextData()
Specified by:
getContextData in interface Context

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.