com.atlassian.bamboo.task.conversion
Interface LegacyBuilderToTaskConverterService

All Known Implementing Classes:
LegacyBuilderToTaskConverterServiceImpl

public interface LegacyBuilderToTaskConverterService

Service to convert Builders used in BuildConfigurations into Tasks.


Method Summary
 java.util.List<TaskDefinition> convert(BuildConfiguration buildConfiguration)
          Finds a proper LegacyBuilderToTaskConverter and creates List of tasks based on existing builder configuration.
 

Method Detail

convert

@NotNull
java.util.List<TaskDefinition> convert(@NotNull
                                               BuildConfiguration buildConfiguration)
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.

Parameters:
buildConfiguration -
Returns:
taskDefinitions


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.