Package jetbrains.buildServer.serverSide
Class ReadOnlyBuildTypeSettingsAdapter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.ReadOnlyBuildTypeSettingsAdapter
-
- All Implemented Interfaces:
ReadOnlyBuildTypeSettings
,ReadOnlyUserParameters
public class ReadOnlyBuildTypeSettingsAdapter extends Object implements ReadOnlyBuildTypeSettings
Adapts BuildTypeSettings to ReadOnlyBuildTypeSettings
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyBuildTypeSettingsAdapter(BuildTypeSettings adaptee)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SArtifactDependency>
getArtifactDependencies()
String
getArtifactPaths()
Collection<SBuildFeatureDescriptor>
getBuildFeatures()
List<SBuildRunnerDescriptor>
getBuildRunners()
String
getCheckoutDirectory()
CheckoutRules
getCheckoutRules(SVcsRoot vcsRoot)
BuildTypeDescriptor.CheckoutType
getCheckoutType()
List<Dependency>
getDependencies()
String
getLabelPattern()
ReadOnlyOptionSupport
getOptions()
Parameter
getParameter(String paramName)
Map<String,String>
getParameters()
Returns map of build and configuration parameters.Collection<Parameter>
getParametersCollection()
Returns build and configuration parameters in single collection.String
getParameterValue(String paramName)
List<Requirement>
getRequirements()
List<VcsRootEntry>
getVcsRootEntries()
boolean
isEnabled(String parametersDescriptorId)
-
-
-
Constructor Detail
-
ReadOnlyBuildTypeSettingsAdapter
public ReadOnlyBuildTypeSettingsAdapter(@NotNull BuildTypeSettings adaptee)
-
-
Method Detail
-
getParametersCollection
@NotNull public Collection<Parameter> getParametersCollection()
Description copied from interface:ReadOnlyUserParameters
Returns build and configuration parameters in single collection.- Specified by:
getParametersCollection
in interfaceReadOnlyBuildTypeSettings
- Specified by:
getParametersCollection
in interfaceReadOnlyUserParameters
- Returns:
- see above
-
getVcsRootEntries
@NotNull public List<VcsRootEntry> getVcsRootEntries()
- Specified by:
getVcsRootEntries
in interfaceReadOnlyBuildTypeSettings
-
getDependencies
@NotNull public List<Dependency> getDependencies()
- Specified by:
getDependencies
in interfaceReadOnlyBuildTypeSettings
-
getCheckoutRules
@Nullable public CheckoutRules getCheckoutRules(@NotNull SVcsRoot vcsRoot)
- Specified by:
getCheckoutRules
in interfaceReadOnlyBuildTypeSettings
-
getCheckoutType
@NotNull public BuildTypeDescriptor.CheckoutType getCheckoutType()
- Specified by:
getCheckoutType
in interfaceReadOnlyBuildTypeSettings
-
getCheckoutDirectory
@Nullable public String getCheckoutDirectory()
- Specified by:
getCheckoutDirectory
in interfaceReadOnlyBuildTypeSettings
-
getArtifactDependencies
@NotNull public List<SArtifactDependency> getArtifactDependencies()
- Specified by:
getArtifactDependencies
in interfaceReadOnlyBuildTypeSettings
-
getBuildRunners
@NotNull public List<SBuildRunnerDescriptor> getBuildRunners()
- Specified by:
getBuildRunners
in interfaceReadOnlyBuildTypeSettings
-
getBuildFeatures
@NotNull public Collection<SBuildFeatureDescriptor> getBuildFeatures()
- Specified by:
getBuildFeatures
in interfaceReadOnlyBuildTypeSettings
-
getParameters
@NotNull public Map<String,String> getParameters()
Description copied from interface:ReadOnlyUserParameters
Returns map of build and configuration parameters.- Specified by:
getParameters
in interfaceReadOnlyBuildTypeSettings
- Specified by:
getParameters
in interfaceReadOnlyUserParameters
- Returns:
- build and configuration parameters map
-
getParameter
@Nullable public Parameter getParameter(@NotNull String paramName)
- Specified by:
getParameter
in interfaceReadOnlyUserParameters
-
getParameterValue
@Nullable public String getParameterValue(@NotNull String paramName)
- Specified by:
getParameterValue
in interfaceReadOnlyUserParameters
- Parameters:
paramName
- parameter name- Returns:
- value of the parameter with given name or null if there is no such parameter
-
getRequirements
@NotNull public List<Requirement> getRequirements()
- Specified by:
getRequirements
in interfaceReadOnlyBuildTypeSettings
-
getArtifactPaths
@Nullable public String getArtifactPaths()
- Specified by:
getArtifactPaths
in interfaceReadOnlyBuildTypeSettings
-
isEnabled
public boolean isEnabled(@NotNull String parametersDescriptorId)
- Specified by:
isEnabled
in interfaceReadOnlyBuildTypeSettings
-
getLabelPattern
@NotNull public String getLabelPattern()
- Specified by:
getLabelPattern
in interfaceReadOnlyBuildTypeSettings
-
getOptions
@NotNull public ReadOnlyOptionSupport getOptions()
- Specified by:
getOptions
in interfaceReadOnlyBuildTypeSettings
-
-