com.atlassian.jira.pageobjects.project.versions
Class DefaultVersion

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

public class DefaultVersion
extends Object
implements Version

Since:
v4.4

Constructor Summary
DefaultVersion(String id)
           
 
Method Summary
 EditVersionForm edit(String fieldName)
           
 String getDescription()
           
 String getName()
           
 Date getReleaseDate()
           
 Date getStartDate()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasFinishedVersionOperation()
           
 void initialise()
           
 boolean isArchived()
           
 boolean isOverdue()
           
 boolean isReleased()
           
 VersionOperationDropdown openOperationsCog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultVersion

public DefaultVersion(String id)
Method Detail

initialise

public void initialise()

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 fieldName)
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

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.