public class ExtractionExecutionContextHierarchyElement extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
_autoposting |
private ExtractionComponent |
_component |
private Iterable<Content> |
_contents |
Constructor and Description |
---|
ExtractionExecutionContextHierarchyElement(ExtractionComponent component,
Iterable<Content> contents)
Constructor using element fields
|
ExtractionExecutionContextHierarchyElement(ExtractionComponent component,
Iterable<Content> contents,
boolean autoposting)
Constructor using all element fields
|
Modifier and Type | Method and Description |
---|---|
ExtractionComponent |
getComponent()
Retrieves the context element's component
|
Iterable<Content> |
getContents()
Retrieves the context hierarchy element's contents
|
boolean |
isAutoposting()
the contents have to be autoposted
|
private ExtractionComponent _component
private boolean _autoposting
public ExtractionExecutionContextHierarchyElement(ExtractionComponent component, Iterable<Content> contents)
component
- context componentcontents
- context contentspublic ExtractionExecutionContextHierarchyElement(ExtractionComponent component, Iterable<Content> contents, boolean autoposting)
component
- context componentcontents
- context contentsautoposting
- true if the content had to be autoposted, false otherwisepublic ExtractionComponent getComponent()
public Iterable<Content> getContents()
public boolean isAutoposting()