Class SBuildStepDescriptorImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.SBuildStepDescriptorImpl
-
- All Implemented Interfaces:
BuildRunnerDescriptor
,BuildStepDescriptor
,ParametersDescriptor
,SBuildRunnerDescriptor
,SBuildStepDescriptor
public class SBuildStepDescriptorImpl extends Object implements SBuildStepDescriptor
Created 21.03.13 13:57- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description SBuildStepDescriptorImpl(SBuildRunnerDescriptor desc, boolean isEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Returns unique id of this descriptorCollection<InvalidProperty>
getInvalidProperties()
String
getName()
Map<String,String>
getOwnBuildParameters()
Map<String,String>
getParameters()
Returns parameters map.RunType
getRunType()
Return object representing type of the build runnerCollection<Requirement>
getRunTypeRequirements()
Returns additional agent requirements imposed by runner.RunTypeWithExtensions
getRunTypeWithExtensions()
String
getType()
Returns type of the parametersboolean
isEnabled()
void
setEnabled(boolean isEnabled)
allows to make step disabled-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.SBuildRunnerDescriptor
getFullDisplayName
-
-
-
-
Constructor Detail
-
SBuildStepDescriptorImpl
public SBuildStepDescriptorImpl(@NotNull SBuildRunnerDescriptor desc, boolean isEnabled)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceBuildStepDescriptor
- Returns:
- true if step is enabled within holding build configuration
-
setEnabled
public void setEnabled(boolean isEnabled)
Description copied from interface:SBuildStepDescriptor
allows to make step disabled- Specified by:
setEnabled
in interfaceSBuildStepDescriptor
-
getRunType
@NotNull public RunType getRunType()
Description copied from interface:SBuildRunnerDescriptor
Return object representing type of the build runner- Specified by:
getRunType
in interfaceSBuildRunnerDescriptor
- Returns:
- see above
-
getRunTypeWithExtensions
@NotNull public RunTypeWithExtensions getRunTypeWithExtensions()
- Specified by:
getRunTypeWithExtensions
in interfaceSBuildRunnerDescriptor
- Returns:
- object representing run type with extensions
-
getRunTypeRequirements
@NotNull public Collection<Requirement> getRunTypeRequirements()
Description copied from interface:SBuildRunnerDescriptor
Returns additional agent requirements imposed by runner.- Specified by:
getRunTypeRequirements
in interfaceSBuildRunnerDescriptor
- Returns:
- see above
-
getInvalidProperties
@NotNull public Collection<InvalidProperty> getInvalidProperties()
- Specified by:
getInvalidProperties
in interfaceSBuildRunnerDescriptor
- Returns:
- collection of invalid properties from extended run type properties processor
- See Also:
RunTypeBase.getRunnerPropertiesProcessor()
-
getOwnBuildParameters
@NotNull public Map<String,String> getOwnBuildParameters()
- Specified by:
getOwnBuildParameters
in interfaceBuildRunnerDescriptor
- Returns:
- map of build parameters (system., env. or configuration parameters)
-
getName
@NotNull public String getName()
- Specified by:
getName
in interfaceBuildRunnerDescriptor
- Returns:
- build runner descriptor name, defined by the user
-
getId
@NotNull public String getId()
Description copied from interface:ParametersDescriptor
Returns unique id of this descriptor- Specified by:
getId
in interfaceParametersDescriptor
- Returns:
- unique id of this descriptor
-
getType
@NotNull public String getType()
Description copied from interface:ParametersDescriptor
Returns type of the parameters- Specified by:
getType
in interfaceParametersDescriptor
- Returns:
- parameters type
-
getParameters
@NotNull public Map<String,String> getParameters()
Description copied from interface:ParametersDescriptor
Returns parameters map.- Specified by:
getParameters
in interfaceParametersDescriptor
- Returns:
- parameters map
-
-