public class MethodCoordinator
extends java.lang.Object
| Constructor and Description |
|---|
MethodCoordinator(java.lang.String className,
java.lang.String methodName)
Constructor to specify a class and method to execute
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
executeOnce(java.lang.Object receiver,
java.lang.Object[] args)
Execute this instance's class/method one time only.
|
boolean |
methodWasExecuted()
Return whether this instance's method has been executed or not.
|
public MethodCoordinator(java.lang.String className,
java.lang.String methodName)
public java.lang.Object executeOnce(java.lang.Object receiver,
java.lang.Object[] args)
receiver - The object to receive the method; can be null
for a static method.args - The arguments used to invoke the method.public boolean methodWasExecuted()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.