Class BuildConcurrencyConversionFunction
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.concurrentbuild.BuildConcurrencyConversionFunction
- All Implemented Interfaces:
RestConversionFunction<ConcurrentBuildConfig,RestBuildConcurrency>
@Component
public class BuildConcurrencyConversionFunction
extends Object
implements RestConversionFunction<ConcurrentBuildConfig,RestBuildConcurrency>
Convert
ConcurrentBuildConfig to RestBuildConcurrency- Since:
- 5.10
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull RestBuildConcurrencyapply(@NotNull ConcurrentBuildConfig input, @NotNull Expansion expansion, @NotNull jakarta.ws.rs.core.UriInfo uriInfo) Transforms a domain object to aAbstractRestModel.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.plugins.rest.common.RestConversionFunction
toFunction
-
Constructor Details
-
BuildConcurrencyConversionFunction
-
-
Method Details
-
apply
@NotNull public @NotNull RestBuildConcurrency apply(@NotNull @NotNull ConcurrentBuildConfig input, @NotNull @NotNull Expansion expansion, @NotNull @NotNull jakarta.ws.rs.core.UriInfo uriInfo) Description copied from interface:RestConversionFunctionTransforms a domain object to aAbstractRestModel. The resource will include links.- Specified by:
applyin interfaceRestConversionFunction<ConcurrentBuildConfig,RestBuildConcurrency> - Parameters:
input- The domain object to transformexpansion- The expansion to use when transforming the objecturiInfo- URI info from the request- Returns:
- a RestResource
-