Class NodeFeatureResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.NodeFeatureResponse
- All Implemented Interfaces:
Serializable
Response containing the activated features
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEmpty 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
Modifier and TypeMethodDescriptionGet the activated featuresvoid
setFeatures
(List<NodeFeature> features) Set the activated featuresMethods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Field Details
-
features
Activated features
-
-
Constructor Details
-
NodeFeatureResponse
public NodeFeatureResponse()Empty constructor -
NodeFeatureResponse
Create an instance with empty message, but given response info and features- Parameters:
responseInfo
- response infofeatures
- features
-
NodeFeatureResponse
Create an instance with message and response info- Parameters:
message
- messageresponseInfo
- response info
-
-
Method Details
-
getFeatures
Get the activated features- Returns:
- activated features
-
setFeatures
Set the activated features- Parameters:
features
- activated features
-