ides.api.plugin.operation
Interface FilterOperation

All Superinterfaces:
Operation

public interface FilterOperation
extends Operation

Interface for DES operations which modify their arguments.

Author:
Lenko Grigorov

Method Summary
 java.lang.Object[] filter(java.lang.Object[] inputs)
          Performs the operation directly on the input/output arguments.
 int[] getInputOutputIndexes()
          The indexes of the inputs which will be modified directly by filter(Object[]).
 
Methods inherited from interface ides.api.plugin.operation.Operation
getDescription, getDescriptionOfInputs, getDescriptionOfOutputs, getName, getNumberOfInputs, getNumberOfOutputs, getTypeOfInputs, getTypeOfOutputs, getWarnings, perform
 

Method Detail

getInputOutputIndexes

int[] getInputOutputIndexes()
The indexes of the inputs which will be modified directly by filter(Object[]).

Returns:
indexes of the inputs which will be modified directly by filter(Object[])
See Also:
filter(Object[])

filter

java.lang.Object[] filter(java.lang.Object[] inputs)
Performs the operation directly on the input/output arguments. The inputs accepted by this method have to be of the same number, type and semantics as the inputs for Operation.perform(Object[]). The outputs produced by this method have to be of the same number, type and semantics as the outputs from Operation.perform(Object[]). Since some inputs may serve as outputs, they have to be included in the array with outputs.

Parameters:
inputs - inputs to the operation (must conform to the types described in Operation.getTypeOfInputs())
Returns:
outputs of the operation (must conform to the types described in Operation.getTypeOfOutputs()). The inputs which were modified have to appear in the array of outputs.
See Also:
Operation.perform(Object[])