Class HttpArtifactTransportFactory
- java.lang.Object
-
- jetbrains.buildServer.artifacts.impl.HttpArtifactTransportFactory
-
- All Implemented Interfaces:
TransportFactoryExtension,TeamCityExtension,PositionAware,PositionConstraintAware
public class HttpArtifactTransportFactory extends Object implements TransportFactoryExtension, PositionAware
Created by Nikita.Skvortsov Date: 7/17/13, 4:35 PM
-
-
Constructor Summary
Constructors Constructor Description HttpArtifactTransportFactory(ExtensionHolder extensionHolder, DependencyHttpHelper dependencyHttpHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PositionConstraintgetConstraint()Constraint to be respected during objects sorting.StringgetOrderId()Returns object id that can be referenced by {PositionConstraint}URLContentRetrievergetTransport(Map<String,String> parameters)Factory method to produce transports used to retrieve artifact dependencies from server.StringgetType()
-
-
-
Constructor Detail
-
HttpArtifactTransportFactory
public HttpArtifactTransportFactory(@NotNull ExtensionHolder extensionHolder, DependencyHttpHelper dependencyHttpHelper)
-
-
Method Detail
-
getTransport
@NotNull public URLContentRetriever getTransport(@NotNull Map<String,String> parameters)
Description copied from interface:TransportFactoryExtensionFactory method to produce transports used to retrieve artifact dependencies from server.- Specified by:
getTransportin interfaceTransportFactoryExtension- Parameters:
parameters- settings for given transport- Returns:
- transport to download artifacts, null - if transport is not available in given context
-
getType
@NotNull public String getType()
-
getOrderId
@NotNull public String getOrderId()
Description copied from interface:PositionAwareReturns object id that can be referenced by {PositionConstraint}- Specified by:
getOrderIdin interfacePositionAware- Returns:
- object id
-
getConstraint
@NotNull public PositionConstraint getConstraint()
Description copied from interface:PositionConstraintAwareConstraint to be respected during objects sorting.- Specified by:
getConstraintin interfacePositionConstraintAware- Returns:
- position constraint
-
-