Skip to content

Commit

Permalink
Adding documentation for async-log
Browse files Browse the repository at this point in the history
Autocommit Wed Jan 14 15:05:05 EST 2015
  • Loading branch information
mxro committed Jan 14, 2015
1 parent 3152952 commit 971ef28
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,19 @@
import de.mxro.async.properties.operations.PropertyOperationWithId;
import de.mxro.async.properties.values.v01.ObjectValueData;

public class SetValueOperation extends PropertyOperationWithId {
public class SetValueOperation extends PropertyOperationWithId<Object> {

private final Object value;

@Override
public void perform(final PropertyData data) {
public Object perform(final PropertyData data) {

final ObjectValueData valueProp = data.get(id, ObjectValueData.class);

valueProp.value = value;

return value;

}

public SetValueOperation(final Object value) {
Expand Down

0 comments on commit 971ef28

Please sign in to comment.