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.voidMerge the content of this instance with the specified content.voidsetContent(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:ServiceCapabilityReturn the "content" of this capability. The structure of the content vastly depends on thetypeof the capability.- Specified by:
getContentin classServiceCapability<String>- Returns:
- the content
-
setContent
-
merge
Description copied from class:ServiceCapabilityMerge the content of this instance with the specified content.- Specified by:
mergein classServiceCapability<String>- Parameters:
otherContent- the content to merge- See Also:
-