public class TypeCapability extends ServiceCapability<List<Type>> implements Defaultable<Type>
action capability.| Constructor and Description |
|---|
TypeCapability() |
| Modifier and Type | Method and Description |
|---|---|
Type |
get(String id)
Return the
Type with the specified id or null if no such type
exists. |
List<Type> |
getContent()
Return the "content" of this capability.
|
Type |
getDefault()
Return the default
Type. |
void |
merge(List<Type> otherContent)
Merge the content of this instance with the specified content.
|
getDescription, getId, getTitle, getType, merge, setDescription, setTitlepublic List<Type> getContent()
ServiceCapabilitytype of the capability.getContent in class ServiceCapability<List<Type>>public Type get(String id)
Type with the specified id or null if no such type
exists.id - the ID to findnullpublic Type getDefault()
Type.getDefault in interface Defaultable<Type>public void merge(List<Type> otherContent)
ServiceCapabilitymerge in class ServiceCapability<List<Type>>otherContent - the content to mergeServiceCapability.merge(io.spring.initializr.metadata.ServiceCapability)Copyright © 2020 Pivotal Software, Inc.. All rights reserved.