Class ExtractionExecutionContextHierarchyElement
java.lang.Object
org.ametys.plugins.extraction.execution.ExtractionExecutionContextHierarchyElement
Context element for nested extraction component
-
Constructor Summary
ConstructorDescriptionExtractionExecutionContextHierarchyElement
(ExtractionComponent component, Iterable<Content> contents) Constructor using element fieldsExtractionExecutionContextHierarchyElement
(ExtractionComponent component, Iterable<Content> contents, boolean autoposting) Constructor using all element fields -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the context element's componentRetrieves the context hierarchy element's contentsboolean
the contents have to be autoposted
-
Constructor Details
-
ExtractionExecutionContextHierarchyElement
public ExtractionExecutionContextHierarchyElement(ExtractionComponent component, Iterable<Content> contents) Constructor using element fields- Parameters:
component
- context componentcontents
- context contents
-
ExtractionExecutionContextHierarchyElement
public ExtractionExecutionContextHierarchyElement(ExtractionComponent component, Iterable<Content> contents, boolean autoposting) Constructor using all element fields- Parameters:
component
- context componentcontents
- context contentsautoposting
- true if the content had to be autoposted, false otherwise
-
-
Method Details
-
getComponent
Retrieves the context element's component- Returns:
- the context element's component
-
getContents
Retrieves the context hierarchy element's contents- Returns:
- the context hierarchy element's contents
-
isAutoposting
the contents have to be autoposted- Returns:
- true if the contents have to be autoposted, false otherwise
-