public static final class Requirements.Dependency extends Object
Requirements| Constructor and Description | 
|---|
Dependency()
Creates a new  
Requirements.Dependency. | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAlias()
Returns the alias to use for the subchart identified by this  
Requirements.Dependency. | 
String | 
getCondition()
 | 
Collection<Object> | 
getImportValues()
 | 
String | 
getName()
Returns the name of the subchart being represented by this  
Requirements.Dependency. | 
String | 
getRepository()
Returns the  
String representation of a URI which, when
 index.yaml is appended to it, results in a URI
 designating a Helm chart repository index. | 
Collection<String> | 
getTags()
Returns the  
Collection of tags that can be used to enable or
 disable subcharts. | 
String | 
getVersion()
Returns the range of acceptable semantic versions of the
 subchart being represented by this  
Requirements.Dependency. | 
boolean | 
isEnabled()
Returns  
true if the subchart this Requirements.Dependency identifies is to be considered
 enabled. | 
boolean | 
selects(ChartOuterClass.ChartOrBuilder chart)
 | 
void | 
setAlias(String alias)
Sets the alias to use for the subchart identified by this  
Requirements.Dependency. | 
void | 
setCondition(String condition)
 | 
void | 
setEnabled(boolean enabled)
Sets whether the subchart this  
Requirements.Dependency identifies is to be considered
 enabled. | 
void | 
setImportValues(Collection<Object> importValues)
 | 
void | 
setName(String name)
Sets the name of the subchart being represented by this  
Requirements.Dependency. | 
void | 
setRepository(String repository)
Sets the  
String representation of a URI which, when
 index.yaml is appended to it, results in a URI
 designating a Helm chart repository index. | 
void | 
setTags(Collection<String> tags)
Sets the  
Collection of tags that can be used to enable
 or disable subcharts. | 
void | 
setVersion(String versionRange)
Sets the range of acceptable semantic versions of the subchart
 being represented by this  
Requirements.Dependency. | 
String | 
toString()
Returns a  
String representation of this Requirements.Dependency. | 
public Dependency()
Requirements.Dependency.public final String getName()
Requirements.Dependency.
 This method may return null.
Requirements.Dependency, or nullsetName(String)public final void setName(String name)
Requirements.Dependency.name - the new name; may be nullgetName()public final String getVersion()
Requirements.Dependency.
 This method may return null.
Requirements.Dependency, or nullsetVersion(String)public final void setVersion(String versionRange)
Requirements.Dependency.versionRange - the new semantic version range; may be nullgetVersion()public final String getRepository()
String representation of a URI which, when
 index.yaml is appended to it, results in a URI
 designating a Helm chart repository index.
 This method may return null.
String representation of a URI which, when
 index.yaml is appended to it, results in a URI
 designating a Helm chart repository index, or nullsetRepository(String)public final void setRepository(String repository)
String representation of a URI which, when
 index.yaml is appended to it, results in a URI
 designating a Helm chart repository index.repository - the String representation of a URI
 which, when index.yaml is appended to it, results in a
 URI designating a Helm chart repository index, or nullgetRepository()public final String getCondition()
Map of Maps representing user-supplied or
 default values, will hopefully result in a value that can, in
 turn, be evaluated as a truth-value to aid in the enabling and
 disabling of subcharts.
 This method may return null.
This method may return a value that actually holds several
 such paths separated by commas.  This is an artifact of the
 design of Helm's requirements.yaml file.
Map of Maps representing user-supplied or
 default values, will hopefully result in a value that can, in
 turn, be evaluated as a truth-value to aid in the enabling and
 disabling of subcharts, or nullsetCondition(String)public final void setCondition(String condition)
Map of Maps representing user-supplied or
 default values, will hopefully result in a value that can, in
 turn, be evaluated as a truth-value to aid in the enabling and
 disabling of subcharts.condition - a period-separated path that, when evaluated
 against a Map of Maps representing
 user-supplied or default values, will hopefully result in a
 value that can, in turn, be evaluated as a truth-value to aid
 in the enabling and disabling of subcharts, or nullgetCondition()public final Collection<String> getTags()
Collection of tags that can be used to enable or
 disable subcharts.
 This method may return null.
Collection of tags that can be used to
 enable or disable subcharts, or nullsetTags(Collection)public final void setTags(Collection<String> tags)
Collection of tags that can be used to enable
 or disable subcharts.tags - the Collection of tags that can be used to
 enable or disable subcharts; may be nullgetTags()public final boolean isEnabled()
true if the subchart this Requirements.Dependency identifies is to be considered
 enabled.true if the subchart this Requirements.Dependency identifies is to be considered
 enabled; false otherwisesetEnabled(boolean)public final void setEnabled(boolean enabled)
Requirements.Dependency identifies is to be considered
 enabled.enabled - whether the subchart this Requirements.Dependency identifies is to be considered
 enabledisEnabled()public final Collection<Object> getImportValues()
Collection representing the contents of a requirements.yaml's import-values section.
 This method may return null.
Collection representing the contents of a requirements.yaml's import-values section, or nullsetImportValues(Collection)public final void setImportValues(Collection<Object> importValues)
importValues - the Collection representing the contents of a requirements.yaml's import-values section; may be nullgetImportValues()public final String getAlias()
Requirements.Dependency.
 This method may return null.
Requirements.Dependency, or nullsetAlias(String)public final void setAlias(String alias)
Requirements.Dependency.alias - the alias to use for the subchart identified by this Requirements.Dependency; may be nullgetAlias()public final boolean selects(ChartOuterClass.ChartOrBuilder chart)
chart - the ChartOuterClass.ChartOrBuilder to check; may be null in which case false will be returnedtrue if this Requirements.Dependency
 identifies the given ChartOuterClass.ChartOrBuilder; false
 otherwiseCopyright © 2017–2018, microBean. All rights reserved.