Class RemoveAllLinks
- java.lang.Object
-
- io.wcm.caravan.pipeline.extensions.hal.action.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 Summary
Constructors Constructor Description RemoveAllLinks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoveAllLinks
except(String... relations)
rx.Observable<io.wcm.caravan.pipeline.JsonPipelineOutput>
execute(io.wcm.caravan.pipeline.JsonPipelineOutput previousStepOutput, io.wcm.caravan.pipeline.JsonPipelineContext pipelineContext)
String
getId()
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceio.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 interfaceio.wcm.caravan.pipeline.JsonPipelineAction
-
except
public RemoveAllLinks except(String... relations)
- Parameters:
relations
- Relation name of links not to delete- Returns:
- This action
-
-