jetbrains.buildServer
Class BuildRunnerData

java.lang.Object
  extended by jetbrains.buildServer.BuildRunnerData
All Implemented Interfaces:
BuildRunnerDescriptor, ParametersDescriptor

public class BuildRunnerData
extends java.lang.Object
implements BuildRunnerDescriptor

Represents build runner descriptor in IDE plugin


Constructor Summary
BuildRunnerData(java.lang.String id, java.lang.String name, java.lang.String runnerType, java.lang.String runnerTypeDisplayName, java.util.Map<java.lang.String,java.lang.String> runParameters, java.util.Map<java.lang.String,java.lang.String> buildParameters)
           
 
Method Summary
static BuildRunnerData createOn(BuildRunnerDescriptor descriptor)
           
static BuildRunnerData createOn(BuildRunnerDescriptor descriptor, java.lang.String runnerTypeDisplayName)
           
 java.lang.String getId()
          Returns unique id of this descriptor
 java.lang.String getName()
           
 java.util.Map<java.lang.String,java.lang.String> getOwnBuildParameters()
           
 java.util.Map<java.lang.String,java.lang.String> getParameters()
          Returns parameters map.
 java.lang.String getRunTypeDisplayName()
           
 java.lang.String getType()
          Returns type of the parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildRunnerData

public BuildRunnerData(@NotNull
                       java.lang.String id,
                       @NotNull
                       java.lang.String name,
                       @NotNull
                       java.lang.String runnerType,
                       @NotNull
                       java.lang.String runnerTypeDisplayName,
                       @NotNull
                       java.util.Map<java.lang.String,java.lang.String> runParameters,
                       @NotNull
                       java.util.Map<java.lang.String,java.lang.String> buildParameters)
Method Detail

createOn

@NotNull
public static BuildRunnerData createOn(@NotNull
                                               BuildRunnerDescriptor descriptor)

createOn

@NotNull
public static BuildRunnerData createOn(@NotNull
                                               BuildRunnerDescriptor descriptor,
                                               @Nullable
                                               java.lang.String runnerTypeDisplayName)

getId

@NotNull
public java.lang.String getId()
Description copied from interface: ParametersDescriptor
Returns unique id of this descriptor

Specified by:
getId in interface ParametersDescriptor
Returns:

getName

@NotNull
public java.lang.String getName()
Specified by:
getName in interface BuildRunnerDescriptor
Returns:
build runner descriptor name, defined by the user

getType

@NotNull
public java.lang.String getType()
Description copied from interface: ParametersDescriptor
Returns type of the parameters

Specified by:
getType in interface ParametersDescriptor
Returns:
parameters type

getRunTypeDisplayName

@NotNull
public java.lang.String getRunTypeDisplayName()

getParameters

@NotNull
public java.util.Map<java.lang.String,java.lang.String> getParameters()
Description copied from interface: ParametersDescriptor
Returns parameters map.

Specified by:
getParameters in interface ParametersDescriptor
Returns:
parameters map

getOwnBuildParameters

@NotNull
public java.util.Map<java.lang.String,java.lang.String> getOwnBuildParameters()
Specified by:
getOwnBuildParameters in interface BuildRunnerDescriptor
Returns:
map of build paramters (system., env. or configuration parameters)