
com.activitystream.aspects.DimensionsAspect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
For a description please see https://github.com/activitystream/as-sdk-java
package com.activitystream.aspects;
import com.activitystream.Aspect;
import java.util.Map;
import java.util.Set;
public class DimensionsAspect implements Aspect {
private Map dimensions;
public DimensionsAspect(Map dimensions) {
this.dimensions = dimensions;
}
@Override
public void addToObject(Map jsonObject, Set processed) {
jsonObject.put("dimensions", dimensions);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy