com.tngtech.jgiven.impl.inject
Class ValueInjectorState

java.lang.Object
  extended by com.tngtech.jgiven.impl.inject.ValueInjectorState

public class ValueInjectorState
extends Object

Holds values based on their type or name.


Constructor Summary
ValueInjectorState()
           
 
Method Summary
 Object getValueByName(String name)
           
 Object getValueByType(Class<?> type)
           
 void updateValueByName(String name, Object value)
           
 void updateValueByType(Class<?> type, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueInjectorState

public ValueInjectorState()
Method Detail

updateValueByName

public void updateValueByName(String name,
                              Object value)

updateValueByType

public void updateValueByType(Class<?> type,
                              Object value)

getValueByType

public Object getValueByType(Class<?> type)

getValueByName

public Object getValueByName(String name)


Copyright © 2014 TNG Technology Consulting. All rights reserved.