Class NotifReleaseProperty
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.pojos.NotifReleaseProperty
- All Implemented Interfaces:
Serializable
An object representing a release property. The metadata is defined on the pipeline which is
referenced by the release, and the
value is defined on each release which uses the pipeline. For use within Notification Templates.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotifReleaseProperty(String pCode, String pName, DataTypeEnum pType, String pDescription, boolean pIsEncrypted, String pValueAsString) Contructs a release property from the given metadata and value. -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Returns the code of the release property.Returns the description of the release propertygetName()Returns the display name of the release property.getType()Returns the type name of the release property (i.e.Returns the datatype for this release property.getValue()Returns the value of the release property, converted to the corresponding datatype (i.e.booleanReturns whether the release property is encrypted.toString()Returns a string representation of this object.
-
Constructor Details
-
NotifReleaseProperty
public NotifReleaseProperty(String pCode, String pName, DataTypeEnum pType, String pDescription, boolean pIsEncrypted, String pValueAsString) Contructs a release property from the given metadata and value.- Parameters:
pCode- The code of the release property.pName- The display name of the release property.pType- The datatype of the release property.pDescription- The description of the release property.pIsEncrypted- Whether the release property is encrypted or not. Supported for String properties only.pValueAsString- The value of the release property as a String. The value will be converted to appropriate primitive wrapper.
-
-
Method Details
-
getCode
Returns the code of the release property.- Returns:
- The release property code.
-
getName
Returns the display name of the release property.- Returns:
- The release property display name.
-
getDescription
Returns the description of the release property- Returns:
- The release property description.
-
isEncrypted
public boolean isEncrypted()Returns whether the release property is encrypted.- Returns:
- Whether the release property is encrypted.
-
getValue
Returns the value of the release property, converted to the corresponding datatype (i.e. String, Integer, Long, Double, Boolean). If the property is encrypted, the value that is returned will be masked.- Returns:
- The value of release property. Concrete type will be one of [String, Integer, Long, Double, Boolean].
-
getTypeEnum
Returns the datatype for this release property.- Returns:
- The replease property datatype.
-
getType
Returns the type name of the release property (i.e. String, Integer, Long, Double, Boolean).- Returns:
- The release property datatype name.
-
toString
Returns a string representation of this object.
-