com.atlassian.jira.pageobjects.project.summary.versions
Class SummaryPanelVersion

java.lang.Object
  extended by com.atlassian.jira.pageobjects.project.summary.versions.SummaryPanelVersion
All Implemented Interfaces:
Version

public class SummaryPanelVersion
extends Object
implements Version

Since:
v4.4

Constructor Summary
SummaryPanelVersion(String name)
           
SummaryPanelVersion(Version version)
           
 
Method Summary
 EditVersionForm edit(String name)
           
 boolean equals(Object o)
           
 String getDescription()
           
static int getMonth(int month)
           
 String getName()
           
 Date getReleaseDate()
           
 Date getStartDate()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasFinishedVersionOperation()
           
 int hashCode()
           
 boolean isArchived()
           
 boolean isOverdue()
           
 boolean isReleased()
           
 VersionOperationDropdown openOperationsCog()
           
 SummaryPanelVersion setArchieved(boolean archieved)
           
 SummaryPanelVersion setDescription(String description)
           
 SummaryPanelVersion setName(String name)
           
 SummaryPanelVersion setOverdue(boolean overdue)
           
 SummaryPanelVersion setReleased(boolean released)
           
 SummaryPanelVersion setReleaseDate(Date releaseDate)
           
 SummaryPanelVersion setReleaseDate(int day, int month, int year)
           
 SummaryPanelVersion setReleaseDate(String releaseDate)
           
 SummaryPanelVersion setStartDate(Date startDate)
           
 SummaryPanelVersion setStartDate(int day, int month, int year)
           
 SummaryPanelVersion setStartDate(String startDate)
           
static List<SummaryPanelVersion> toSimple(Iterable<? extends Version> versions)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SummaryPanelVersion

public SummaryPanelVersion(Version version)

SummaryPanelVersion

public SummaryPanelVersion(String name)
Method Detail

toSimple

public static List<SummaryPanelVersion> toSimple(Iterable<? extends Version> versions)

getName

public String getName()
Specified by:
getName in interface Version

getDescription

public String getDescription()
Specified by:
getDescription in interface Version

getStartDate

public Date getStartDate()
Specified by:
getStartDate in interface Version
Returns:
the start date of the version (or null if there is none)

getReleaseDate

public Date getReleaseDate()
Specified by:
getReleaseDate in interface Version

edit

public EditVersionForm edit(String name)
Specified by:
edit in interface Version

isOverdue

public boolean isOverdue()
Specified by:
isOverdue in interface Version

isArchived

public boolean isArchived()
Specified by:
isArchived in interface Version

isReleased

public boolean isReleased()
Specified by:
isReleased in interface Version

setOverdue

public SummaryPanelVersion setOverdue(boolean overdue)

setArchieved

public SummaryPanelVersion setArchieved(boolean archieved)

setReleased

public SummaryPanelVersion setReleased(boolean released)

setName

public SummaryPanelVersion setName(String name)

setStartDate

public SummaryPanelVersion setStartDate(Date startDate)

setStartDate

public SummaryPanelVersion setStartDate(String startDate)

setStartDate

public SummaryPanelVersion setStartDate(int day,
                                        int month,
                                        int year)

setReleaseDate

public SummaryPanelVersion setReleaseDate(Date releaseDate)

setReleaseDate

public SummaryPanelVersion setReleaseDate(String releaseDate)

setReleaseDate

public SummaryPanelVersion setReleaseDate(int day,
                                          int month,
                                          int year)

setDescription

public SummaryPanelVersion setDescription(String description)

openOperationsCog

public VersionOperationDropdown openOperationsCog()
Specified by:
openOperationsCog in interface Version

hasFinishedVersionOperation

public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasFinishedVersionOperation()
Specified by:
hasFinishedVersionOperation in interface Version

getMonth

public static int getMonth(int month)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.