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 PositionConstraint
getConstraint()
Constraint to be respected during objects sorting.String
getOrderId()
Returns object id that can be referenced by {PositionConstraint
}URLContentRetriever
getTransport(Map<String,String> parameters)
Factory method to produce transports used to retrieve artifact dependencies from server.String
getType()
-
-
-
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:TransportFactoryExtension
Factory method to produce transports used to retrieve artifact dependencies from server.- Specified by:
getTransport
in 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:PositionAware
Returns object id that can be referenced by {PositionConstraint
}- Specified by:
getOrderId
in interfacePositionAware
- Returns:
- object id
-
getConstraint
@NotNull public PositionConstraint getConstraint()
Description copied from interface:PositionConstraintAware
Constraint to be respected during objects sorting.- Specified by:
getConstraint
in interfacePositionConstraintAware
- Returns:
- position constraint
-
-