Class ExtractionExecutionContextHierarchyElement
- java.lang.Object
 - 
- org.ametys.plugins.extraction.execution.ExtractionExecutionContextHierarchyElement
 
 
- 
public class ExtractionExecutionContextHierarchyElement extends Object
Context element for nested extraction component 
- 
- 
Field Summary
Fields Modifier and Type Field Description private boolean_autopostingprivate ExtractionComponent_componentprivate Iterable<Content>_contents 
- 
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 ExtractionComponentgetComponent()Retrieves the context element's componentIterable<Content>getContents()Retrieves the context hierarchy element's contentsbooleanisAutoposting()the contents have to be autoposted 
 - 
 
- 
- 
Field Detail
- 
_component
private ExtractionComponent _component
 
- 
_autoposting
private boolean _autoposting
 
 - 
 
- 
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
 
 
 - 
 
 -