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 PostProcessPlugin s during processing by the ProcessingFramework . |
void |
markMetacardAsModified()
Mark the metacard as modified.
|
getMetacard
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetacard
public ProcessCreateItemImpl(@Nullable ProcessResource processResource, Metacard metacard)
processResource
- ProcessResource
of this ProcessCreateItemImpl
, can be
nullmetacard
- non null Metacard
of this ProcessCreateItem
public ProcessCreateItemImpl(@Nullable ProcessResource processResource, Metacard metacard, boolean isMetacardModified)
ProcessCreateItem
.processResource
- ProcessResource
of this ProcessCreateItemImpl
, can be
nullmetacard
- non null Metacard
of this ProcessCreateItem
isMetacardModified
- true
if updates are required to be sent back to the Catalog
false
otherwise.@Nullable public ProcessResource getProcessResource()
ProcessResourceItem
ProcessResource
that corresponds to the associated Metacard
retrieved from ProcessItem.getMetacard()
.getProcessResource
in interface ProcessResourceItem
ProcessResource
public boolean isMetacardModified()
ProcessResourceItem
ProcessItem.getMetacard()
has been modified
by any of the PostProcessPlugin
s 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 ProcessResourceItem
true
if modified, false
otherwisepublic void markMetacardAsModified()
ProcessResourceItem
markMetacardAsModified
in interface ProcessResourceItem
This work is licensed under a Creative Commons Attribution 4.0 International License.