Class NodeFeatureResponse
- java.lang.Object
-
- com.gentics.contentnode.rest.model.response.GenericResponse
-
- com.gentics.contentnode.rest.model.response.NodeFeatureResponse
-
- All Implemented Interfaces:
Serializable
public class NodeFeatureResponse extends GenericResponse
Response containing the activated features- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<NodeFeature>
features
Activated features
-
Constructor Summary
Constructors Constructor Description NodeFeatureResponse()
Empty constructorNodeFeatureResponse(Message message, ResponseInfo responseInfo)
Create an instance with message and response infoNodeFeatureResponse(ResponseInfo responseInfo, List<NodeFeature> features)
Create an instance with empty message, but given response info and features
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NodeFeature>
getFeatures()
Get the activated featuresvoid
setFeatures(List<NodeFeature> features)
Set the activated features-
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
-
-
-
Field Detail
-
features
protected List<NodeFeature> features
Activated features
-
-
Constructor Detail
-
NodeFeatureResponse
public NodeFeatureResponse()
Empty constructor
-
NodeFeatureResponse
public NodeFeatureResponse(ResponseInfo responseInfo, List<NodeFeature> features)
Create an instance with empty message, but given response info and features- Parameters:
responseInfo
- response infofeatures
- features
-
NodeFeatureResponse
public NodeFeatureResponse(Message message, ResponseInfo responseInfo)
Create an instance with message and response info- Parameters:
message
- messageresponseInfo
- response info
-
-
Method Detail
-
getFeatures
public List<NodeFeature> getFeatures()
Get the activated features- Returns:
- activated features
-
setFeatures
public void setFeatures(List<NodeFeature> features)
Set the activated features- Parameters:
features
- activated features
-
-