com.atlassian.greenhopper.optionalfeatures.sampledata
Class SampleDataGeneratorImpl
java.lang.Object
com.atlassian.greenhopper.optionalfeatures.sampledata.SampleDataGeneratorImpl
- All Implemented Interfaces:
- SampleDataGenerator
public class SampleDataGeneratorImpl
- extends java.lang.Object
- implements SampleDataGenerator
Constructor Summary |
SampleDataGeneratorImpl(com.atlassian.jira.plugins.importer.sample.SampleDataImporter importer,
com.atlassian.plugin.PluginAccessor pluginAccessor,
SprintManager sprintManager,
WorkflowService workflowService,
com.atlassian.jira.issue.CustomFieldManager customFieldManager,
com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext,
SimplifiedWorkflowService simplifiedWorkflowService,
RankCustomFieldService rankCustomFieldService,
com.atlassian.jira.project.ProjectManager projectManager,
com.atlassian.jira.issue.IssueManager issueManager,
RankManager rankManager,
RankableFactory rankableFactory)
|
Method Summary |
ServiceOutcome<com.atlassian.jira.project.Project> |
createSampleKanbanData(java.lang.String projectKey,
java.lang.String projectName,
com.atlassian.fugue.Option<java.lang.String> projectLeadUserName)
|
ServiceOutcome<com.atlassian.jira.project.Project> |
createSampleScrumData(java.lang.String projectKey,
java.lang.String projectName,
com.atlassian.fugue.Option<java.lang.String> projectLeadUserName)
Creates a project and fills it with scrum |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleDataGeneratorImpl
public SampleDataGeneratorImpl(com.atlassian.jira.plugins.importer.sample.SampleDataImporter importer,
com.atlassian.plugin.PluginAccessor pluginAccessor,
SprintManager sprintManager,
WorkflowService workflowService,
com.atlassian.jira.issue.CustomFieldManager customFieldManager,
com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext,
SimplifiedWorkflowService simplifiedWorkflowService,
RankCustomFieldService rankCustomFieldService,
com.atlassian.jira.project.ProjectManager projectManager,
com.atlassian.jira.issue.IssueManager issueManager,
RankManager rankManager,
RankableFactory rankableFactory)
createSampleKanbanData
public ServiceOutcome<com.atlassian.jira.project.Project> createSampleKanbanData(java.lang.String projectKey,
java.lang.String projectName,
com.atlassian.fugue.Option<java.lang.String> projectLeadUserName)
- Specified by:
createSampleKanbanData
in interface SampleDataGenerator
projectLeadUserName
- an Option
which can contain the user name of the lead for the project to be created
- Returns:
- an outcome which will either have the project or errors
createSampleScrumData
public ServiceOutcome<com.atlassian.jira.project.Project> createSampleScrumData(java.lang.String projectKey,
java.lang.String projectName,
com.atlassian.fugue.Option<java.lang.String> projectLeadUserName)
- Description copied from interface:
SampleDataGenerator
- Creates a project and fills it with scrum
- Specified by:
createSampleScrumData
in interface SampleDataGenerator
- Parameters:
projectKey
- the key for the project to be createdprojectName
- the name for the project to be createdprojectLeadUserName
- an Option
which can contain the user name of the lead for the project to be created
- Returns:
- an outcome which will either have the project or errors
Copyright © 2007-2012 Atlassian. All Rights Reserved.