com.atlassian.jira.rest.client.domain
Class Version
java.lang.Object
com.atlassian.jira.rest.client.domain.Version
- All Implemented Interfaces:
- AddressableEntity
public class Version
- extends Object
- implements AddressableEntity
Complete information about a version defined for a JIRA project
- Since:
- v0.1
Constructor Summary |
Version(URI self,
String name,
String description,
boolean archived,
boolean released,
org.joda.time.DateTime releaseDate)
|
Version
public Version(URI self,
String name,
String description,
boolean archived,
boolean released,
org.joda.time.DateTime releaseDate)
getSelf
public URI getSelf()
- Specified by:
getSelf
in interface AddressableEntity
- Returns:
- URI to this resource or (usually) its complete version - when partial representation
is embedded in other resources
getDescription
public String getDescription()
getName
public String getName()
isArchived
public boolean isArchived()
isReleased
public boolean isReleased()
getReleaseDate
@Nullable
public org.joda.time.DateTime getReleaseDate()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.