com.atlassian.bamboo.task
Interface TaskDefinition

All Superinterfaces:
java.io.Serializable, TaskIdentifier
All Known Implementing Classes:
DecoratedTaskDefinition, ImmutableTaskDefinition, TaskDefinitionImpl

public interface TaskDefinition
extends TaskIdentifier, java.io.Serializable

A definition of one configuration of a TaskType

Since:
3.1
See Also:
TaskConfigurator

Method Summary
 java.util.Map<java.lang.String,java.lang.String> getConfiguration()
          Represents the raw configuration data for this configuration.
 void setConfiguration(java.util.Map<java.lang.String,java.lang.String> configuration)
           
 void setFinalising(boolean finalising)
           
 void setUserDescription(java.lang.String userDescription)
           
 
Methods inherited from interface com.atlassian.bamboo.task.TaskIdentifier
getId, getPluginKey, getUserDescription, isFinalising
 

Method Detail

setUserDescription

void setUserDescription(@Nullable
                        java.lang.String userDescription)

setFinalising

void setFinalising(boolean finalising)

getConfiguration

@NotNull
java.util.Map<java.lang.String,java.lang.String> getConfiguration()
Represents the raw configuration data for this configuration. No variables are substituted.

Returns:
the plugin defined configuration for this task

setConfiguration

void setConfiguration(@NotNull
                      java.util.Map<java.lang.String,java.lang.String> configuration)


Copyright © 2011 Atlassian. All Rights Reserved.