com.atlassian.jira.functest.framework.sharing
Class GroupTestSharingPermission

java.lang.Object
  extended by com.atlassian.jira.functest.framework.sharing.GroupTestSharingPermission
All Implemented Interfaces:
TestSharingPermission

public class GroupTestSharingPermission
extends Object
implements TestSharingPermission

Represents a group share in the Func tests.

Since:
v3.13

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.sharing.TestSharingPermission
TestSharingPermission.JSONConstants
 
Field Summary
static String TYPE
           
 
Constructor Summary
GroupTestSharingPermission(SimpleTestSharingPermission permission)
           
GroupTestSharingPermission(String group)
           
 
Method Summary
 boolean equals(Object o)
           
 String getGroup()
           
 int hashCode()
           
static GroupTestSharingPermission parseJson(TestJSONObject json)
           
 String toDisplayFormat()
           
 TestJSONObject toJson()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

GroupTestSharingPermission

public GroupTestSharingPermission(SimpleTestSharingPermission permission)

GroupTestSharingPermission

public GroupTestSharingPermission(String group)
Method Detail

getGroup

public String getGroup()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toJson

public TestJSONObject toJson()
Specified by:
toJson in interface TestSharingPermission

parseJson

public static GroupTestSharingPermission parseJson(TestJSONObject json)
                                            throws TestJSONException
Throws:
TestJSONException

toDisplayFormat

public String toDisplayFormat()
Specified by:
toDisplayFormat in interface TestSharingPermission
Returns:
the smooshed text format as displayed on the browser


Copyright © 2002-2012 Atlassian. All Rights Reserved.