Class RevisionId
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.deployment.RevisionId
- All Implemented Interfaces:
Comparable<RevisionId>
ID of a revision of an application package. This is the build number, and whether it was submitted for production deployment.
- Author:
- jonmv
-
Method Summary
Modifier and TypeMethodDescriptionintUnknown, manual builds sort first, then known manual builds, then production builds, by increasing build numberbooleanstatic RevisionIdforDevelopment(long number, JobId job) static RevisionIdforProduction(long number) inthashCode()booleanjob()Returns the job for this, if a development revision, or throws if this is a production revision.longnumber()toString()
-
Method Details
-
forProduction
-
forDevelopment
-
number
public long number() -
isProduction
public boolean isProduction() -
job
Returns the job for this, if a development revision, or throws if this is a production revision. -
equals
-
hashCode
public int hashCode() -
compareTo
Unknown, manual builds sort first, then known manual builds, then production builds, by increasing build number- Specified by:
compareToin interfaceComparable<RevisionId>
-
toString
-