org.graphstream.algorithm
Class Parameter.ParametersProcessor
java.lang.Object
org.graphstream.algorithm.Parameter.ParametersProcessor
- Enclosing class:
- Parameter
public static class Parameter.ParametersProcessor
- extends Object
Defines the object which will process parameters.
Method Summary |
void |
process()
Start the processing part. |
Parameter.ParametersProcessor
public Parameter.ParametersProcessor(Object obj,
Parameter... parameters)
process
public void process()
throws InvalidParameterException,
MissingParameterException
- Start the processing part. First, this checks is all non-optional
parameters will receive a value, else a MissingParameterException is
thrown. Then, values are assigned to the attribute (
setValue(DefineParameter, Field, Object)
). Finally, the method checks is no parameter remaining. In this
case, an InvalidParameterException is thrown.
- Throws:
InvalidParameterException
MissingParameterException
Copyright © 2012. All Rights Reserved.