com.atlassian.jira.pageobjects.project.fields
Class MockField
java.lang.Object
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
MockField
public MockField(String name,
String description,
boolean isRequired,
String renderer,
String screens)
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.