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()
Deprecated.
Return type need to be changed, maybe to
InternationalString . |
String |
getDocURL()
Deprecated.
To be replaced by a method returning a
Citation . |
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()
Deprecated.
Replaced by
getName().getAuthority() . |
String |
getVersion()
Deprecated.
Replacement to be determined.
|
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()
@Deprecated public String getDescription()
InternationalString
.null
. The default implementation returns the descriptor remarks.getDescription
in interface Operation
null
.@Deprecated public String getDocURL()
Citation
.null
.@Deprecated public String getVersion()
getVersion
in interface Operation
null
.@Deprecated public String getVendor()
getName().getAuthority()
.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–2019 Geotools. All rights reserved.