com.atlassian.jira.webtest.framework.model.admin
Class Screen

java.lang.Object
  extended by com.atlassian.jira.webtest.framework.model.admin.Screen

public final class Screen
extends Object

Represents a screen in the JIRA administration UI. Screens are used to configure data that users will see on different issue views (view issue, edit issue, workflow transitions etc.) for particular context (workflow, user, project etc.).

Since:
v4.3
See Also:
ViewScreens

Field Summary
static Screen DEFAULT
           
static Screen RESOLVE_ISSUE
           
static Screen WORKFLOW
           
 
Method Summary
static Screen custom(long id)
          Create custom instance of Screen without specifying a name.
static Screen custom(long id, String name)
          Create custom instance of Screen.
 boolean hasName()
          Checks if this screen instance has name.
 long id()
          Id of the screen.
 String name()
          Name as seen on the ViewScreens page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static Screen DEFAULT

WORKFLOW

public static Screen WORKFLOW

RESOLVE_ISSUE

public static Screen RESOLVE_ISSUE
Method Detail

custom

public static Screen custom(long id,
                            String name)
Create custom instance of Screen.

Parameters:
id - ID of the screen
name - name of the screen
Returns:
ne screen instance

custom

public static Screen custom(long id)
Create custom instance of Screen without specifying a name.

Parameters:
id - ID of the screen
Returns:
ne screen instance

hasName

public boolean hasName()
Checks if this screen instance has name. Equivalent to name() != null.

Returns:
true, if this screen has a name (i.e. name is not null)

name

public String name()
Name as seen on the ViewScreens page.

Returns:
name of the screen, may be null

id

public long id()
Id of the screen.

Returns:
screen id


Copyright © 2002-2013 Atlassian. All Rights Reserved.