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

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

public class MockJiraWebSectionDescriptorBuilder
extends Object

Builds and initializes mock instaces of JiraWebItemModuleDescriptor.

Since:
v4.2

Constructor Summary
MockJiraWebSectionDescriptorBuilder()
           
 
Method Summary
 MockJiraWebSectionDescriptorBuilder authenticationContext(JiraAuthenticationContext ctx)
           
 JiraWebSectionModuleDescriptor build()
           
 MockJiraWebSectionDescriptorBuilder label(String label)
           
 MockJiraWebSectionDescriptorBuilder label(String labelKey, String label)
           
 MockJiraWebSectionDescriptorBuilder location(String location)
           
 MockJiraWebSectionDescriptorBuilder sectionKey(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockJiraWebSectionDescriptorBuilder

public MockJiraWebSectionDescriptorBuilder()
Method Detail

sectionKey

public MockJiraWebSectionDescriptorBuilder sectionKey(String key)

location

public MockJiraWebSectionDescriptorBuilder location(String location)

label

public MockJiraWebSectionDescriptorBuilder label(String label)

label

public MockJiraWebSectionDescriptorBuilder label(String labelKey,
                                                 String label)

authenticationContext

public MockJiraWebSectionDescriptorBuilder authenticationContext(JiraAuthenticationContext ctx)

build

public JiraWebSectionModuleDescriptor build()


Copyright © 2002-2012 Atlassian. All Rights Reserved.