com.xebialabs.deployit.repository
Class StringValueConverter
java.lang.Object
com.xebialabs.deployit.repository.StringValueConverter
public class StringValueConverter
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENCRYPTED_PREFIX
public static final java.lang.String ENCRYPTED_PREFIX
- See Also:
- Constant Field Values
PLAIN_PREFIX
public static final java.lang.String PLAIN_PREFIX
- See Also:
- Constant Field Values
SUFFIX
public static final java.lang.String SUFFIX
- See Also:
- Constant Field Values
StringValueConverter
public StringValueConverter(PasswordEncrypter passwordEncrypter)
valueToString
public static final com.google.common.base.Function<StringValue,java.lang.String> valueToString(PasswordEncrypter passwordEncrypter)
valueToString
public static final com.google.common.base.Function<StringValue,java.lang.String> valueToString(PasswordEncrypter passwordEncrypter,
boolean fallbackEncrypted)
stringToValue
public static final com.google.common.base.Function<java.lang.String,StringValue> stringToValue(PasswordEncrypter passwordEncrypter)
convert
public java.lang.String convert(StringValue v,
boolean keepPlainAsIs)
convert
public StringValue convert(java.lang.String s)
convert
public StringValue convert(java.lang.String s,
boolean fallbackEncrypted)