com.atlassian.bamboo.plugins.shell.conversion
Class AbstractShellBuilder2TaskConverter

java.lang.Object
  extended by com.atlassian.bamboo.task.conversion.AbstractBuilder2TaskConverter
      extended by com.atlassian.bamboo.plugins.shell.conversion.AbstractShellBuilder2TaskConverter
All Implemented Interfaces:
LegacyBuilderToTaskConverter
Direct Known Subclasses:
CommandBuilder2TaskConverter, ScriptBuilder2TaskConverter

public abstract class AbstractShellBuilder2TaskConverter
extends AbstractBuilder2TaskConverter


Field Summary
protected  String builderConfigKey
           
 
Fields inherited from class com.atlassian.bamboo.task.conversion.AbstractBuilder2TaskConverter
incrementTaskId
 
Constructor Summary
protected AbstractShellBuilder2TaskConverter(String builderConfigKey, boolean includeJUnitTask)
           
 
Method Summary
 List<TaskDefinition> builder2TaskList(BuildConfiguration buildConfiguration)
          Creates a list of tasks out of BuildConfiguration.
protected  Map<String,String> filterOutTestParameters(Map<String,String> params)
           
protected abstract  String getTaskPluginKey()
           
 
Methods inherited from class com.atlassian.bamboo.task.conversion.AbstractBuilder2TaskConverter
stripBuilderParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

builderConfigKey

protected final String builderConfigKey
Constructor Detail

AbstractShellBuilder2TaskConverter

protected AbstractShellBuilder2TaskConverter(String builderConfigKey,
                                             boolean includeJUnitTask)
Method Detail

filterOutTestParameters

protected Map<String,String> filterOutTestParameters(Map<String,String> params)

getTaskPluginKey

protected abstract String getTaskPluginKey()

builder2TaskList

@NotNull
public List<TaskDefinition> builder2TaskList(@NotNull
                                                     BuildConfiguration buildConfiguration)
Description copied from interface: LegacyBuilderToTaskConverter
Creates a list of tasks out of BuildConfiguration. The implementers can assume that this method is only called iff buildConfiguration contain definition of builder that this converter can handle.

Returns:
taskDefinitions


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.