yuxc
2024-08-06 769e437befb3354c1113ca5b5c2b8240995078be
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package org.jbpm.pvm.internal.wire.operation;
 
import java.io.Serializable;
 
import org.jbpm.pvm.internal.wire.WireContext;
 
/**
 * any field update or method invocation after the construction of an object.
 */
public interface Operation extends Serializable {
 
  /**
   * Apply this operation to the specified object, defined in the specified {@link WireContext}.
   * @param target object on which the operation should be performed.
   * @param wireContext context in which the operation is applied.
   */
  void apply(Object target, WireContext wireContext);
}