public interface ITemplate extends IResource
| Modifier and Type | Method and Description |
|---|---|
void |
addObjectLabel(String key,
String value)
Add or update a label that is applied to the objects of the template when it
is processed
|
Map<String,String> |
getObjectLabels()
Retrieves the labels that are applied to the objects of the template when it
is processed.
|
Collection<IResource> |
getObjects()
Retrieves the list of resources this template creates
|
Map<String,IParameter> |
getParameters()
Returns a map of parameter names to parameters.
|
boolean |
isMatching(String filterText)
Returns
true if the given resource contains the given text in
name or tags. |
void |
updateParameter(String key,
String value)
Update a parameter if it exists
|
void |
updateParameterValues(Collection<IParameter> parameters)
Update the template's parameter values, with the values from the collection
if a parameter with the same name is found
|
addLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getNamespaceName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonCollection<IResource> getObjects()
Map<String,IParameter> getParameters()
void updateParameterValues(Collection<IParameter> parameters)
Map<String,String> getObjectLabels()
void addObjectLabel(String key, String value)
boolean isMatching(String filterText)
true if the given resource contains the given text in
name or tags.Copyright © 2019 Red Hat, Inc. All Rights Reserved.