com.atlassian.jira.pageobjects.project.fields
Class MockField

java.lang.Object
  extended by com.atlassian.jira.pageobjects.project.fields.MockField
All Implemented Interfaces:
Field

public class MockField
extends Object
implements Field

Mock implementation for easy comparisons in tests.

Since:
v4.4

Constructor Summary
MockField(String name, String description, boolean isRequired, String renderer, String screens)
           
 
Method Summary
 boolean equals(Object o)
           
 String getDescription()
           
 String getName()
           
 String getRenderer()
           
 String getScreens()
           
 int hashCode()
           
 boolean isRequired()
           
 ScreensDialog openScreensDialog()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockField

public MockField(String name,
                 String description,
                 boolean isRequired,
                 String renderer,
                 String screens)
Method Detail

getName

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

getDescription

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

isRequired

public boolean isRequired()
Specified by:
isRequired in interface Field

getRenderer

public String getRenderer()
Specified by:
getRenderer in interface Field

getScreens

public String getScreens()
Specified by:
getScreens in interface Field

openScreensDialog

public ScreensDialog openScreensDialog()
Specified by:
openScreensDialog in interface Field

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-2011 Atlassian. All Rights Reserved.