AbstractOperation
.@Deprecated public class DefaultOperation extends AbstractOperation
Defined in the sis-feature
module
DEFINITION_KEY, DESCRIPTION_KEY, DESIGNATION_KEY, NAME_KEY
Constructor and Description |
---|
DefaultOperation(Map<String,?> identification,
ParameterDescriptorGroup parameters,
AbstractIdentifiedType result)
Deprecated.
Constructs an operation from the given properties.
|
Modifier and Type | Method and Description |
---|---|
Object |
apply(AbstractFeature feature,
ParameterValueGroup parameters)
Deprecated.
Subclasses should override.
|
ParameterDescriptorGroup |
getParameters()
Deprecated.
Returns a description of the input parameters.
|
AbstractIdentifiedType |
getResult()
Deprecated.
Returns the expected result type, or
null if none. |
equals, getDependencies, hashCode, toString
getDefinition, getDescription, getDesignation, getName
public DefaultOperation(Map<String,?> identification, ParameterDescriptorGroup parameters, AbstractIdentifiedType result)
identification
- The name and other information to be given to this operation.parameters
- A description of the input parameters.result
- The type of the result, or null
if none.public ParameterDescriptorGroup getParameters()
getParameters
in class AbstractOperation
public AbstractIdentifiedType getResult()
null
if none.getResult
in class AbstractOperation
null
if none.public Object apply(AbstractFeature feature, ParameterValueGroup parameters)
UnsupportedOperationException
.apply
in class AbstractOperation
feature
- The feature on which to execute the operation.
Can be null
if the operation does not need feature instance.parameters
- The parameters to use for executing the operation.
Can be null
if the operation does not take any parameters.null
if this operation does not produce any result.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.