Package com.linecorp.centraldogma.common
Class PushResult
java.lang.Object
com.linecorp.centraldogma.common.PushResult
The result of a
push
operation.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PushResult
Creates a new instance.- Parameters:
revision
- theRevision
of the pushed commitwhen
- the time and date of the pushed commit, represented as the number of milliseconds since the epoch (midnight, January 1, 1970 UTC)
-
-
Method Details
-
revision
Returns theRevision
of the pushed commit. -
when
public long when()Returns the time and date of the pushed commit.- Returns:
- the number of milliseconds since the epoch (midnight, January 1, 1970 UTC)
-
whenAsText
Returns the time and date of the pushed commit in ISO 8601 combined date and time representation. -
hashCode
public int hashCode() -
equals
-
toString
-