public class CurrentRevision extends Object implements Serializable, Cloneable
Represents information about a current revision.
Constructor and Description |
---|
CurrentRevision() |
Modifier and Type | Method and Description |
---|---|
CurrentRevision |
clone() |
boolean |
equals(Object obj) |
String |
getChangeIdentifier()
The change identifier for the current revision.
|
String |
getRevision()
The revision ID of the current version of an artifact.
|
int |
hashCode() |
void |
setChangeIdentifier(String changeIdentifier)
The change identifier for the current revision.
|
void |
setRevision(String revision)
The revision ID of the current version of an artifact.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CurrentRevision |
withChangeIdentifier(String changeIdentifier)
The change identifier for the current revision.
|
CurrentRevision |
withRevision(String revision)
The revision ID of the current version of an artifact.
|
public void setRevision(String revision)
The revision ID of the current version of an artifact.
revision
- The revision ID of the current version of an artifact.public String getRevision()
The revision ID of the current version of an artifact.
public CurrentRevision withRevision(String revision)
The revision ID of the current version of an artifact.
revision
- The revision ID of the current version of an artifact.public void setChangeIdentifier(String changeIdentifier)
The change identifier for the current revision.
changeIdentifier
- The change identifier for the current revision.public String getChangeIdentifier()
The change identifier for the current revision.
public CurrentRevision withChangeIdentifier(String changeIdentifier)
The change identifier for the current revision.
changeIdentifier
- The change identifier for the current revision.public String toString()
toString
in class Object
Object.toString()
public CurrentRevision clone()
Copyright © 2015. All rights reserved.