Class GeneralConfigurationConversionFunction
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.admin.configuration.GeneralConfigurationConversionFunction
-
- All Implemented Interfaces:
RestConversionFunction<GeneralConfiguration,RestGeneralConfiguration>
@Component public class GeneralConfigurationConversionFunction extends Object implements RestConversionFunction<GeneralConfiguration,RestGeneralConfiguration>
-
-
Constructor Summary
Constructors Constructor Description GeneralConfigurationConversionFunction(LinkService linkService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull RestGeneralConfiguration
apply(@NotNull GeneralConfiguration input, @Nullable Expansion expansion, @NotNull javax.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, wait
-
Methods inherited from interface com.atlassian.bamboo.plugins.rest.common.RestConversionFunction
toFunction
-
-
-
-
Constructor Detail
-
GeneralConfigurationConversionFunction
@Autowired public GeneralConfigurationConversionFunction(LinkService linkService)
-
-
Method Detail
-
apply
@NotNull public @NotNull RestGeneralConfiguration apply(@NotNull @NotNull GeneralConfiguration input, @Nullable @Nullable Expansion expansion, @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo)
Description copied from interface:RestConversionFunction
Transforms a domain object to aAbstractRestModel
. The resource will include links.- Specified by:
apply
in interfaceRestConversionFunction<GeneralConfiguration,RestGeneralConfiguration>
- Parameters:
input
- The domain object to transformexpansion
- The expansion to use when transforming the objecturiInfo
- URI info from the request- Returns:
- a RestResource
-
-