com.atlassian.jira.pageobjects.project.summary.versions
Class SummaryPanelVersion
java.lang.Object
com.atlassian.jira.pageobjects.project.summary.versions.SummaryPanelVersion
- All Implemented Interfaces:
- Version
public class SummaryPanelVersion
- extends Object
- implements Version
- Since:
- v4.4
SummaryPanelVersion
public SummaryPanelVersion(Version version)
SummaryPanelVersion
public SummaryPanelVersion(String name)
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.