Package org.xwiki.livedata
Class WithParameters
- java.lang.Object
-
- org.xwiki.livedata.WithParameters
-
- Direct Known Subclasses:
BaseDescriptor
public class WithParameters extends Object
Base class for components and POJOs that can have unknown parameters. When extended by POJOs the unknown parameters are serialized as JSON side by side with the other (known) POJO fields. When extended by components, they should haveComponentInstantiationStrategy.PER_LOOKUP
.- Since:
- 12.10
- Version:
- $Id: f13594f28f740ed161cbaa061bb927ded680f681 $
-
-
Constructor Summary
Constructors Constructor Description WithParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Map<String,Object>
getParameters()
int
hashCode()
Object
setParameter(String key, Object value)
Set the value of a parameter.String
toString()
-