Class InlineEmbedded

  • All Implemented Interfaces:
    io.wcm.caravan.pipeline.JsonPipelineAction

    @ProviderType
    public final class InlineEmbedded
    extends Object
    implements io.wcm.caravan.pipeline.JsonPipelineAction
    Moves the state of embedded resources into the state of the current resource. The embedded resources get and the self link of the current resource get deleted.
    • Constructor Detail

      • InlineEmbedded

        public InlineEmbedded​(String... relations)
        Parameters:
        relations - Relations of the embedded resources to embed
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface io.wcm.caravan.pipeline.JsonPipelineAction
      • execute

        public rx.Observable<io.wcm.caravan.pipeline.JsonPipelineOutput> execute​(io.wcm.caravan.pipeline.JsonPipelineOutput previousStepOutput,
                                                                                 io.wcm.caravan.pipeline.JsonPipelineContext context)
        Specified by:
        execute in interface io.wcm.caravan.pipeline.JsonPipelineAction