public class ProjectTemplateListCapability extends Object implements IProjectTemplateList
| Constructor and Description |
|---|
ProjectTemplateListCapability(IProject project,
IClient client) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ITemplate> |
getCommonTemplates()
Retrieve the common templates from the server (e.g.
|
Collection<ITemplate> |
getCommonTemplates(String clusterNamespace)
Retrieve the common templates from the server (e.g.
|
String |
getName()
Well known name of the capability
|
Collection<ITemplate> |
getTemplates()
Retrieve the templates associated with a specific project
|
boolean |
isSupported()
Allow the implementation of the capability to determine if it is supported on
the OpenShift server.
|
public boolean isSupported()
ICapabilityisSupported in interface ICapabilitypublic String getName()
ICapabilitygetName in interface ICapabilitypublic Collection<ITemplate> getTemplates()
IProjectTemplateListgetTemplates in interface IProjectTemplateListpublic Collection<ITemplate> getCommonTemplates()
IProjectTemplateListgetCommonTemplates in interface IProjectTemplateListpublic Collection<ITemplate> getCommonTemplates(String clusterNamespace)
IProjectTemplateListgetCommonTemplates in interface IProjectTemplateListCopyright © 2019 Red Hat, Inc. All Rights Reserved.