public abstract class AbstractOperation extends Object implements Operation, Serializable
Modifier and Type | Field and Description |
---|---|
protected ParameterDescriptorGroup |
descriptor
The parameters descriptor.
|
Constructor and Description |
---|
AbstractOperation(ParameterDescriptorGroup descriptor)
Constructs an operation.
|
Modifier and Type | Method and Description |
---|---|
abstract Coverage |
doOperation(ParameterValueGroup parameters,
Hints hints)
Applies a process operation to a coverage.
|
boolean |
equals(Object object)
Compares the specified object with this operation for equality.
|
String |
getDescription()
Returns the description of the processing operation.
|
String |
getDocURL()
Returns the URL for documentation on the processing operation.
|
String |
getName()
Returns the name of the processing operation.
|
int |
getNumSources()
Returns the number of source coverages required for the operation.
|
ParameterValueGroup |
getParameters()
Returns an initially empty set of parameters.
|
String |
getVendor()
Returns the vendor name of the processing operation implementation.
|
String |
getVersion()
Returns the version number of the implementation.
|
int |
hashCode()
Returns a hash value for this operation.
|
String |
toString()
Returns a string representation of this operation.
|
protected final ParameterDescriptorGroup descriptor
public AbstractOperation(ParameterDescriptorGroup descriptor)
descriptor
- The parameters descriptor.public String getName()
public String getDescription()
null
. The default implementation returns the descriptor remarks.getDescription
in interface Operation
null
.public String getDocURL()
null
.public String getVersion()
getVersion
in interface Operation
null
.public String getVendor()
public int getNumSources()
getNumSources
in interface Operation
public ParameterValueGroup getParameters()
getParameters
in interface Operation
public abstract Coverage doOperation(ParameterValueGroup parameters, Hints hints) throws CoverageProcessingException
DefaultProcessor
.parameters
- List of name value pairs for the parameters required for the operation.hints
- A set of rendering hints, or null
if none. The DefaultProcessor
may provides hints for the following keys: Hints.COORDINATE_OPERATION_FACTORY
and
Hints.JAI_INSTANCE
.CoverageProcessingException
- if the operation can't be applied.public int hashCode()
public boolean equals(Object object)
Copyright © 1996–2021 Geotools. All rights reserved.