Class RemoveAllLinks

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

    @ProviderType
    public final class RemoveAllLinks
    extends Object
    implements io.wcm.caravan.pipeline.JsonPipelineAction
    Removes all links for a HAL resource and it's embedded resources which don't fit the given relation names.
    • Constructor Detail

      • RemoveAllLinks

        public RemoveAllLinks()
    • 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 pipelineContext)
        Specified by:
        execute in interface io.wcm.caravan.pipeline.JsonPipelineAction
      • except

        public RemoveAllLinks except​(String... relations)
        Parameters:
        relations - Relation name of links not to delete
        Returns:
        This action