Package com.senzing.g2.engine.plugin
Class G2StandardizationPlugin.ProcessingContext
- java.lang.Object
-
- com.senzing.g2.engine.plugin.G2StandardizationPlugin.ProcessingContext
-
- Enclosing interface:
- G2StandardizationPlugin
public static class G2StandardizationPlugin.ProcessingContext extends Object
Context for processing.
-
-
Constructor Summary
Constructors Constructor Description ProcessingContext(FeatureInfo input)Constructs an instance based on an input feature.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()Get the error message (if any).FeatureInfogetInput()Gets theFeatureInfodescribing the input feature.FeatureInfogetResult()Gets theFeatureInfodescribing the result feature.voidsetErrorMessage(String message)Sets the error message (if any).voidsetResult(FeatureInfo result)Sets the result feature
-
-
-
Constructor Detail
-
ProcessingContext
public ProcessingContext(FeatureInfo input)
Constructs an instance based on an input feature.- Parameters:
input- The input feature.
-
-
Method Detail
-
getInput
public FeatureInfo getInput()
Gets theFeatureInfodescribing the input feature.- Returns:
- The input feature.
-
getResult
public FeatureInfo getResult()
Gets theFeatureInfodescribing the result feature.- Returns:
- The result feature.
-
setResult
public void setResult(FeatureInfo result)
Sets the result feature- Parameters:
result- The result feature
-
getErrorMessage
public String getErrorMessage()
Get the error message (if any).- Returns:
- The error message that was set or
nullif no error.
-
setErrorMessage
public void setErrorMessage(String message)
Sets the error message (if any).- Parameters:
message- The error message to set if an error occurs, ornullto clear an error.
-
-