org.ow2.shelbie.core.internal.prompt
Class VariablesResolver

java.lang.Object
  extended by org.ow2.shelbie.core.internal.prompt.VariablesResolver
All Implemented Interfaces:
org.ow2.util.substitution.IPropertyResolver

public class VariablesResolver
extends Object
implements org.ow2.util.substitution.IPropertyResolver

A VariablesResolver is resolving values from the variables stored in the shell session.

Author:
Guillaume Sauthier

Constructor Summary
VariablesResolver(org.ow2.shelbie.core.prompt.Variables variables)
           
 
Method Summary
 String resolve(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariablesResolver

public VariablesResolver(org.ow2.shelbie.core.prompt.Variables variables)
Method Detail

resolve

public String resolve(String name)
Specified by:
resolve in interface org.ow2.util.substitution.IPropertyResolver
Returns:
null if the variable is unknown in the session.


Copyright © 2013 OW2 Consortium. All Rights Reserved.