public class PotentialConsumer extends PotentialAttribute
PotentialAttribute
corresponding to a Consumer
.PotentialAttribute
,
Attribute
Modifier | Constructor and Description |
---|---|
protected |
PotentialConsumer(WorkspaceComponent parent,
java.lang.Object object,
java.lang.String methodName,
java.lang.Class<?>[] argDataTypes,
java.lang.Object[] argValues,
java.lang.String description)
Construct a potential consumer for the case where the method has multiple
arguments.
|
Modifier and Type | Method and Description |
---|---|
Consumer<?> |
createConsumer()
Actualize this potential attribute into a consumer.
|
getArgumentDataTypes, getArgumentValues, getBaseObject, getDataType, getDescription, getMethodName, getParent, setArgumentDataTypes, setArgumentValues, setCustomDescription
protected PotentialConsumer(WorkspaceComponent parent, java.lang.Object object, java.lang.String methodName, java.lang.Class<?>[] argDataTypes, java.lang.Object[] argValues, java.lang.String description)
Attribute
.parent
- parent workspace componentobject
- base object containing method to callmethodName
- name of method to callargDataTypes
- first member is main data type. Others for auxiliary
methods.argValues
- for auxiliary methodsdescription
- description of the attributepublic Consumer<?> createConsumer()