public class ProcessCreateItemImpl extends ProcessItemImpl implements ProcessCreateItem
| Constructor and Description |
|---|
ProcessCreateItemImpl(ProcessResource processResource,
Metacard metacard)
|
ProcessCreateItemImpl(ProcessResource processResource,
Metacard metacard,
boolean isMetacardModified)
Creates a
ProcessCreateItem. |
| Modifier and Type | Method and Description |
|---|---|
ProcessResource |
getProcessResource()
Gets the
ProcessResource that corresponds to the associated Metacard retrieved from ProcessItem.getMetacard(). |
boolean |
isMetacardModified()
Determines whether or not the metacard from
ProcessItem.getMetacard() has been modified
by any of the PostProcessPlugins during processing by the ProcessingFramework. |
void |
markMetacardAsModified()
Mark the metacard as modified.
|
getMetacardclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetacardpublic ProcessCreateItemImpl(@Nullable ProcessResource processResource, Metacard metacard)
processResource - ProcessResource of this ProcessCreateItemImpl, can be
nullmetacard - non null Metacard of this ProcessCreateItempublic ProcessCreateItemImpl(@Nullable ProcessResource processResource, Metacard metacard, boolean isMetacardModified)
ProcessCreateItem.processResource - ProcessResource of this ProcessCreateItemImpl, can be
nullmetacard - non null Metacard of this ProcessCreateItemisMetacardModified - true if updates are required to be sent back to the Catalog
false otherwise.@Nullable public ProcessResource getProcessResource()
ProcessResourceItemProcessResource that corresponds to the associated Metacard retrieved from ProcessItem.getMetacard().getProcessResource in interface ProcessResourceItemProcessResourcepublic boolean isMetacardModified()
ProcessResourceItemProcessItem.getMetacard() has been modified
by any of the PostProcessPlugins during processing by the ProcessingFramework.
This is used to determine whether or not a (@link ddf.catalog.operation.UpdateRequest} for this
ProcessItem.getMetacard() needs to be made back to the CatalogFramework.isMetacardModified in interface ProcessResourceItemtrue if modified, false otherwisepublic void markMetacardAsModified()
ProcessResourceItemmarkMetacardAsModified in interface ProcessResourceItemThis work is licensed under a Creative Commons Attribution 4.0 International License.