com.atlassian.bamboo.task.conversion
Class LegacyBuilderToTaskConverterServiceImpl

java.lang.Object
  extended by com.atlassian.bamboo.task.conversion.LegacyBuilderToTaskConverterServiceImpl
All Implemented Interfaces:
LegacyBuilderToTaskConverterService

public class LegacyBuilderToTaskConverterServiceImpl
extends java.lang.Object
implements LegacyBuilderToTaskConverterService


Constructor Summary
LegacyBuilderToTaskConverterServiceImpl(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Method Summary
 java.util.List<TaskDefinition> convert(BuildConfiguration buildConfiguration)
          Finds a proper LegacyBuilderToTaskConverter and creates List of tasks based on existing builder configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyBuilderToTaskConverterServiceImpl

public LegacyBuilderToTaskConverterServiceImpl(com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail

convert

@NotNull
public java.util.List<TaskDefinition> convert(@NotNull
                                                      BuildConfiguration buildConfiguration)
Description copied from interface: LegacyBuilderToTaskConverterService
Finds a proper LegacyBuilderToTaskConverter and creates List of tasks based on existing builder configuration. Does not actually modify BuildConfiguration. If buildConfiguration doesn't contain legacy builder, conversion of legacy builder is unknown or the conversion fails, an empty list is returned.

Specified by:
convert in interface LegacyBuilderToTaskConverterService
Returns:
taskDefinitions


Copyright © 2011 Atlassian. All Rights Reserved.