Class CiAttributes
java.lang.Object
com.xebialabs.deployit.plugin.api.udm.CiAttributes
- All Implemented Interfaces:
Serializable
A container for metadata about CI's
- See Also:
-
Constructor Summary
ConstructorDescriptionCiAttributes
(String createdBy, org.joda.time.DateTime createdAt, String lastModifiedBy, org.joda.time.DateTime lastModifiedAt, Integer scmTraceabilityDataId) Constructs a CiAttributes object with the given parameters -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
The original creation date of this CIGet the name of the user that originally created this CIorg.joda.time.DateTime
Get the last modification date for this CIGet the name of the user that last modified something about this CIGet the id of scm traceability datavoid
setScmTraceabilityDataId
(Integer scmTraceabilityDataId) Set the id of scm traceability data
-
Constructor Details
-
CiAttributes
public CiAttributes(String createdBy, org.joda.time.DateTime createdAt, String lastModifiedBy, org.joda.time.DateTime lastModifiedAt, Integer scmTraceabilityDataId) Constructs a CiAttributes object with the given parameters- Parameters:
createdBy
- - the original creator of the CIcreatedAt
- - the creation date of the CIlastModifiedBy
- - the user that last modified the CIlastModifiedAt
- - the last modification date for the CIscmTraceabilityDataId
- - id of scm traceability data
-
-
Method Details
-
getCreatedBy
Get the name of the user that originally created this CI- Returns:
- a String
-
getCreatedAt
public org.joda.time.DateTime getCreatedAt()The original creation date of this CI- Returns:
- a Calendar
-
getLastModifiedBy
Get the name of the user that last modified something about this CI- Returns:
- a String
-
getLastModifiedAt
public org.joda.time.DateTime getLastModifiedAt()Get the last modification date for this CI- Returns:
- a Calendar
-
getScmTraceabilityDataId
Get the id of scm traceability data- Returns:
- an Integer
-
setScmTraceabilityDataId
Set the id of scm traceability data- Parameters:
scmTraceabilityDataId
- new data id
-