public class


extends Object
implements FieldScreen
   ↳ com.atlassian.jira.issue.fields.screen.MockFieldScreen

Class Overview

Simple mock implementation of FieldScreen.


Inherited Fields
From interface com.atlassian.jira.issue.fields.screen.FieldScreen
Public Constructors
MockFieldScreen(long id)
Public Methods
MockFieldScreenTab addMockTab()
MockFieldScreen addTab(FieldScreenTab tab)
FieldScreenTab addTab(String tabName)
boolean containsField(String fieldId)
boolean equals(Object o)
String getDescription()
GenericValue getGenericValue()
Long getId()
String getName()
FieldScreenTab getTab(int tabPosition)
List<FieldScreenTab> getTabs()
int hashCode()
boolean isModified()
Indicates whether any fields of the screen have been modified
void moveFieldScreenTabLeft(int tabPosition)
void moveFieldScreenTabRight(int tabPosition)
void moveFieldScreenTabToPosition(int tabPosition, int newPosition)
MockFieldScreen name(String name)
void remove()
void removeFieldScreenLayoutItem(String fieldId)
void removeTab(int tabPosition)
void resequence()
void setDescription(String description)
void setGenericValue(GenericValue genericValue)
void setId(Long id)
void setName(String name)
void store()
String toString()
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.screen.FieldScreen

Public Constructors

public MockFieldScreen ()

public MockFieldScreen (long id)

Public Methods

public MockFieldScreenTab addMockTab ()

public MockFieldScreen addTab (FieldScreenTab tab)

public FieldScreenTab addTab (String tabName)

public boolean containsField (String fieldId)

public boolean equals (Object o)

public String getDescription ()

public GenericValue getGenericValue ()

public Long getId ()

public String getName ()

public FieldScreenTab getTab (int tabPosition)

public List<FieldScreenTab> getTabs ()

public int hashCode ()

public boolean isModified ()

Indicates whether any fields of the screen have been modified

public void moveFieldScreenTabLeft (int tabPosition)

public void moveFieldScreenTabRight (int tabPosition)

public void moveFieldScreenTabToPosition (int tabPosition, int newPosition)

public MockFieldScreen name (String name)

public void remove ()

public void removeFieldScreenLayoutItem (String fieldId)

public void removeTab (int tabPosition)

public void resequence ()

public void setDescription (String description)

public void setGenericValue (GenericValue genericValue)

public void setId (Long id)

public void setName (String name)

public void store ()

public String toString ()