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 14:58:05 EST 2015
  • Loading branch information
mxro committed Jan 14, 2015
1 parent dfe19b9 commit e17b72f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/main/java/de/mxro/async/properties/PropertiesCommon.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,27 @@ public static PropertyNode createUnsafe(final PropertyFactory factory) {
return new UnsafePropertyNode(factory);
}

/**
* Sets the specified property with to the provided value.
*
* @param id
* @param value
* @return
*/
public static PropertyOperation set(final String id, final Object value) {
return new SetValueOperation(value).setId(id);
}

/**
* Resets the property with the specified id.
*
* @param id
* @return
*/
public static PropertyOperation clear(final String id) {

}

public static PropertyFactory defaultFactory() {
return new DefaultFactory();
}
Expand Down

0 comments on commit e17b72f

Please sign in to comment.