public class ArtifactHandlerResource extends Object
Modifier and Type | Field and Description |
---|---|
static RestArtifactHandler |
AGENT_LOCAL_ARTIFACT_HANDLER |
static RestArtifactHandler |
BAMBOO_REMOTE_ARTIFACT_HANDLER |
static RestArtifactHandler |
S3_ARTIFACT_HANDLER |
static RestArtifactHandler |
SERVER_LOCAL_ARTIFACT_HANDLER |
Constructor and Description |
---|
ArtifactHandlerResource(RestArtifactHandlerConversionFunction function,
ArtifactHandlersService artifactHandlersService,
FeatureManager featureManager,
com.atlassian.sal.api.message.I18nResolver i18nResolver) |
Modifier and Type | Method and Description |
---|---|
RestArtifactHandler |
getAgentLocalArtifactHandler(Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Retrieve configuration of Agent-Local Artifact Handler.
|
RestArtifactHandler |
getBambooRemoteArtifactHandler(Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Retrieve configuration of Bamboo Remote Artifact Handler.
|
RestArtifactHandler |
getBambooServerLocalArtifactHandler(Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Retrieve configuration of Server-Local Artifact Handler.
|
RestArtifactHandler |
getS3ArtifactHandler(Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Retrieve configuration of S3 Artifact Handler.
|
RestArtifactHandler |
updateAgentLocalHandler(RestArtifactHandler restArtifactHandler,
javax.ws.rs.core.UriInfo uriInfo)
Update Agent-Local Artifact Handler configuration.
|
RestArtifactHandler |
updateBambooRemoteHandler(RestArtifactHandler restArtifactHandler,
javax.ws.rs.core.UriInfo uriInfo)
Update Bamboo Remote Artifact Handler configuration.
|
RestArtifactHandler |
updateS3Handler(RestArtifactHandler restArtifactHandler,
javax.ws.rs.core.UriInfo uriInfo)
Update S3 Artifact Handler configuration.
|
RestArtifactHandler |
updateServerLocalArtifactHandler(RestArtifactHandler restArtifactHandler,
javax.ws.rs.core.UriInfo uriInfo)
Update Server-Local Artifact handler configuration.
|
public static final RestArtifactHandler SERVER_LOCAL_ARTIFACT_HANDLER
public static final RestArtifactHandler BAMBOO_REMOTE_ARTIFACT_HANDLER
public static final RestArtifactHandler AGENT_LOCAL_ARTIFACT_HANDLER
public static final RestArtifactHandler S3_ARTIFACT_HANDLER
public ArtifactHandlerResource(RestArtifactHandlerConversionFunction function, ArtifactHandlersService artifactHandlersService, FeatureManager featureManager, com.atlassian.sal.api.message.I18nResolver i18nResolver)
public RestArtifactHandler getBambooServerLocalArtifactHandler(@Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
expansion
- uriInfo
- WebValidationException
public RestArtifactHandler updateServerLocalArtifactHandler(@NotNull RestArtifactHandler restArtifactHandler, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
restArtifactHandler
- New configuration of the artifact handleruriInfo
- WebValidationException
public RestArtifactHandler getBambooRemoteArtifactHandler(@Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
expansion
- uriInfo
- WebValidationException
public RestArtifactHandler updateBambooRemoteHandler(@NotNull RestArtifactHandler restArtifactHandler, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
restArtifactHandler
- New configuration of the artifact handleruriInfo
- WebValidationException
public RestArtifactHandler getAgentLocalArtifactHandler(@Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
expansion
- uriInfo
- WebValidationException
public RestArtifactHandler updateAgentLocalHandler(@NotNull RestArtifactHandler restArtifactHandler, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
restArtifactHandler
- New configuration of the artifact handleruriInfo
- WebValidationException
public RestArtifactHandler getS3ArtifactHandler(@Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
expansion
- uriInfo
- uriInfo
- WebValidationException
public RestArtifactHandler updateS3Handler(@NotNull RestArtifactHandler restArtifactHandler, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
restArtifactHandler
- New configuration of the artifact handleruriInfo
- WebValidationException
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.