Package com.xebialabs.deployit.core
Class EncryptedStringValue
- java.lang.Object
-
- com.xebialabs.deployit.core.StringValue
-
- com.xebialabs.deployit.core.EncryptedStringValue
-
- All Implemented Interfaces:
java.io.Serializable
public class EncryptedStringValue extends StringValue
The contents of this class is unencrypted while this class is alive, but on the boundaries of the server-core, the string should be encrypted.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.xebialabs.deployit.core.StringValue
value
-
-
Constructor Summary
Constructors Constructor Description EncryptedStringValue(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringValueencrypt()booleanisEncrypted()java.lang.StringtoPublicFacingValue()-
Methods inherited from class com.xebialabs.deployit.core.StringValue
equals, hashCode, toString
-
-
-
-
Method Detail
-
isEncrypted
public boolean isEncrypted()
- Overrides:
isEncryptedin classStringValue
-
toPublicFacingValue
public java.lang.String toPublicFacingValue()
- Overrides:
toPublicFacingValuein classStringValue
-
encrypt
public StringValue encrypt()
- Overrides:
encryptin classStringValue
-
-