com.atlassian.jira.mock.plugin.webfragments
Class MockJiraWebItemDescriptorBuilder

java.lang.Object
  extended by com.atlassian.jira.mock.plugin.webfragments.MockJiraWebItemDescriptorBuilder

public class MockJiraWebItemDescriptorBuilder
extends Object

Builds and initializes mock instaces of JiraWebItemModuleDescriptor.

Since:
v4.2

Constructor Summary
MockJiraWebItemDescriptorBuilder()
           
 
Method Summary
 MockJiraWebItemDescriptorBuilder authenticationContext(JiraAuthenticationContext ctx)
           
 JiraWebItemModuleDescriptor build()
           
 MockJiraWebItemDescriptorBuilder itemKey(String key)
           
 MockJiraWebItemDescriptorBuilder label(String label)
           
 MockJiraWebItemDescriptorBuilder label(String labelKey, String labelText)
           
 MockJiraWebItemDescriptorBuilder link(String linkId, String linkUrl)
           
 MockJiraWebItemDescriptorBuilder section(String section)
           
 MockJiraWebItemDescriptorBuilder tooltip(String tooltip)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockJiraWebItemDescriptorBuilder

public MockJiraWebItemDescriptorBuilder()
Method Detail

itemKey

public MockJiraWebItemDescriptorBuilder itemKey(String key)

section

public MockJiraWebItemDescriptorBuilder section(String section)

label

public MockJiraWebItemDescriptorBuilder label(String label)

label

public MockJiraWebItemDescriptorBuilder label(String labelKey,
                                              String labelText)

link

public MockJiraWebItemDescriptorBuilder link(String linkId,
                                             String linkUrl)

tooltip

public MockJiraWebItemDescriptorBuilder tooltip(String tooltip)

authenticationContext

public MockJiraWebItemDescriptorBuilder authenticationContext(JiraAuthenticationContext ctx)

build

public JiraWebItemModuleDescriptor build()


Copyright © 2002-2012 Atlassian. All Rights Reserved.