Package org.eclipse.steady
Class ConstructChange
- java.lang.Object
-
- org.eclipse.steady.ConstructChange
-
- All Implemented Interfaces:
Comparable<ConstructChange>
public class ConstructChange extends Object implements Comparable<ConstructChange>
ConstructChange class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ConstructChange _cc)booleanequals(Object obj)Returns true if construct id and revision are equal.StringgetCommittedAt()Getter for the fieldcommittedAt.ConstructgetConstruct()Returns the construct that is subject to change.StringgetRepo()Getter for the fieldrepo.StringgetRepoPath()Returns the file in which the construct is defined.ConstructChangeTypegetType()getType.inthashCode()booleanhasSignatureChange()Returns true if aSignatureChangewas computed and the list of changes is non-empty, false otherwise.StringtoJSON()toJSON.StringtoString()toString.
-
-
-
Method Detail
-
getRepoPath
public String getRepoPath()
Returns the file in which the construct is defined.- Returns:
- a
Stringobject.
-
getCommittedAt
public String getCommittedAt()
Getter for the field
committedAt.- Returns:
- a
Stringobject.
-
hasSignatureChange
public boolean hasSignatureChange()
Returns true if aSignatureChangewas computed and the list of changes is non-empty, false otherwise.- Returns:
- a boolean.
-
getType
public ConstructChangeType getType()
getType.
- Returns:
- a
ConstructChangeTypeobject.
-
toString
public String toString()
toString.
-
getConstruct
public Construct getConstruct()
Returns the construct that is subject to change.- Returns:
- a
Constructobject.
-
equals
public boolean equals(Object obj)
Returns true if construct id and revision are equal.
-
compareTo
public final int compareTo(ConstructChange _cc)
- Specified by:
compareToin interfaceComparable<ConstructChange>
-
-