com.xebialabs.deployit.plugin.jbossas.step
Class SimplePropertyConverter<T>

java.lang.Object
  extended by com.xebialabs.deployit.plugin.jbossas.step.SimplePropertyConverter<T>
All Implemented Interfaces:
PropertyConverter<T>, java.io.Serializable

public class SimplePropertyConverter<T>
extends java.lang.Object
implements PropertyConverter<T>

See Also:
Serialized Form

Constructor Summary
SimplePropertyConverter(java.lang.String property, com.google.common.base.Function<java.lang.String,T> converter)
           
 
Method Summary
 com.google.common.base.Function<java.lang.String,T> getConverter()
           
 java.lang.String getProperty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePropertyConverter

public SimplePropertyConverter(java.lang.String property,
                               com.google.common.base.Function<java.lang.String,T> converter)
Method Detail

getProperty

public java.lang.String getProperty()
Specified by:
getProperty in interface PropertyConverter<T>

getConverter

public com.google.common.base.Function<java.lang.String,T> getConverter()
Specified by:
getConverter in interface PropertyConverter<T>