|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovyx.gpars.serial.WithSerialId
groovyx.gpars.dataflow.expression.DataflowExpression
groovyx.gpars.dataflow.expression.DataflowGetPropertyExpression
public class DataflowGetPropertyExpression extends DataflowExpression
A DFE, which evaluates a property when the receiver becomes available
Field Summary | |
---|---|
private java.lang.String |
name
|
private DataflowExpression |
receiver
|
private static long |
serialVersionUID
|
Fields inherited from class DataflowExpression | |
---|---|
ATTACHMENT, RESULT, S_INITIALIZED, S_INITIALIZING, S_NOT_INITIALIZED, dummyWaitingThread, metaClass, serialVersionUID, state, value, waiting |
Fields inherited from class WithSerialId | |
---|---|
serialHandle, serialVersionUID |
Constructor Summary | |
DataflowGetPropertyExpression(DataflowExpression expression, java.lang.String name)
|
Method Summary | |
---|---|
protected java.lang.Object
|
evaluate()
Retrieves the receiver's property value |
protected void
|
subscribe(DataflowExpressionsCollector listener)
|
Methods inherited from class DataflowExpression | |
---|---|
DataflowExpression, binaryChoice, binaryChoice, binaryChoice, bind, bindSafely, bindUnique, chainWith, chainWith, chainWith, choice, choice, choice, doBind, doBindImpl, doBindRemote, evaluate, filter, filter, filter, getMetaClass, getProperty, getVal, getVal, getValAsync, getValAsync, handleInterruption, into, into, into, invokeMethod, isBound, join, join, length, merge, merge, merge, merge, merge, merge, notifyRemote, or, or, poll, rightShift, scheduleCallback, separate, separate, separate, setMetaClass, setProperty, split, split, split, split, split, split, subscribe, subscribe, tap, tap, tap, then, then, then, toString, transform, whenBound, whenBound, whenBound, whenBound, wheneverBound, wheneverBound |
Methods inherited from class WithSerialId | |
---|---|
createRemoteHandle, getOrCreateSerialHandle, getRemoteClass, writeReplace |
Field Detail |
---|
private final java.lang.String name
private final DataflowExpression receiver
private static final long serialVersionUID
Constructor Detail |
---|
public DataflowGetPropertyExpression(DataflowExpression expression, java.lang.String name)
Method Detail |
---|
@Override @SuppressWarnings("unchecked") protected java.lang.Object evaluate()
@Override protected void subscribe(DataflowExpressionsCollector listener)
Copyright © 2008–2012 Václav Pech. All Rights Reserved.