Package io.spring.initializr.metadata
Class TextCapability
java.lang.Object
io.spring.initializr.metadata.ServiceCapability<String>
io.spring.initializr.metadata.TextCapability
- All Implemented Interfaces:
Cloneable
A
text
capability.- Author:
- Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptionReturn the "content" of this capability.void
Merge the content of this instance with the specified content.void
setContent
(String content) Methods inherited from class io.spring.initializr.metadata.ServiceCapability
getDescription, getId, getTitle, getType, merge, setDescription, setTitle
-
Method Details
-
getContent
Description copied from class:ServiceCapability
Return the "content" of this capability. The structure of the content vastly depends on thetype
of the capability.- Specified by:
getContent
in classServiceCapability<String>
- Returns:
- the content
-
setContent
-
merge
Description copied from class:ServiceCapability
Merge the content of this instance with the specified content.- Specified by:
merge
in classServiceCapability<String>
- Parameters:
otherContent
- the content to merge- See Also:
-