Interface Dependency
-
- All Superinterfaces:
DependencyOptions,OptionSupport
- All Known Implementing Classes:
DependencyImpl,UnresolvedDependency
public interface Dependency extends DependencyOptions, OptionSupport
This class describes a dependency from one build configuration to another build configuration. It contains and manages attributes of such a dependency.- Author:
- kir
- See Also:
Dependent,SBuildType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.serverSide.dependency.DependencyOptions
DependencyOptions.BuildContinuationMode
-
-
Field Summary
-
Fields inherited from interface jetbrains.buildServer.serverSide.dependency.DependencyOptions
RUN_BUILD_IF_DEPENDENCY_FAILED, RUN_BUILD_IF_DEPENDENCY_FAILED_TO_START, RUN_BUILD_ON_THE_SAME_AGENT, SYNCHRONIZE_REVISIONS, TAKE_STARTED_BUILD_WITH_SAME_REVISIONS, TAKE_SUCCESSFUL_BUILDS_ONLY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DependencycreateCopy()Creates copy of this dependencySBuildTypegetDependOn()Returns the build configuration we're depend on.StringgetDependOnExternalId()StringgetDependOnId()-
Methods inherited from interface jetbrains.buildServer.util.OptionSupport
getChangedOptions, getDeclaredOption, getOption, getOptionDefaultValue, getOptions, getOwnOptions, setOption
-
-
-
-
Method Detail
-
getDependOnId
@NotNull String getDependOnId()
- Returns:
- internal id of build configuration we depend on
-
getDependOnExternalId
@NotNull String getDependOnExternalId()
- Returns:
- external id of build configuration we depend on
-
getDependOn
@Nullable SBuildType getDependOn() throws AccessDeniedException
Returns the build configuration we're depend on. May return null if this dependency references non-existing configuration- Returns:
- see above
- Throws:
AccessDeniedException- when requestor doesn't have permission to the original build configuration
-
createCopy
Dependency createCopy()
Creates copy of this dependency- Returns:
- see above
-
-