Class ExtractionExecutionContextHierarchyElement
- java.lang.Object
-
- org.ametys.plugins.extraction.execution.ExtractionExecutionContextHierarchyElement
-
public class ExtractionExecutionContextHierarchyElement extends Object
Context element for nested extraction component
-
-
Constructor Summary
Constructors Constructor Description ExtractionExecutionContextHierarchyElement(ExtractionComponent component, Iterable<Content> contents)
Constructor using element fieldsExtractionExecutionContextHierarchyElement(ExtractionComponent component, Iterable<Content> contents, boolean autoposting)
Constructor using all element fields
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtractionComponent
getComponent()
Retrieves the context element's componentIterable<Content>
getContents()
Retrieves the context hierarchy element's contentsboolean
isAutoposting()
the contents have to be autoposted
-
-
-
Constructor Detail
-
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 Detail
-
getComponent
public ExtractionComponent getComponent()
Retrieves the context element's component- Returns:
- the context element's component
-
getContents
public Iterable<Content> getContents()
Retrieves the context hierarchy element's contents- Returns:
- the context hierarchy element's contents
-
isAutoposting
public boolean isAutoposting()
the contents have to be autoposted- Returns:
- true if the contents have to be autoposted, false otherwise
-
-