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 null
setName(String)
public final void setName(String name)
Requirements.Dependency
.name
- the new name; may be null
getName()
public final String getVersion()
Requirements.Dependency
.
This method may return null
.
Requirements.Dependency
, or null
setVersion(String)
public final void setVersion(String versionRange)
Requirements.Dependency
.versionRange
- the new semantic version range; may be null
getVersion()
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 null
setRepository(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 null
getRepository()
public final String getCondition()
Map
of Map
s 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 Map
s 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 null
setCondition(String)
public final void setCondition(String condition)
Map
of Map
s 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 Map
s 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 null
getCondition()
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 null
setTags(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 null
getTags()
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 null
setImportValues(Collection)
public final void setImportValues(Collection<Object> importValues)
importValues
- the Collection
representing the contents of a requirements.yaml
's import-values
section; may be null
getImportValues()
public final String getAlias()
Requirements.Dependency
.
This method may return null
.
Requirements.Dependency
, or null
setAlias(String)
public final void setAlias(String alias)
Requirements.Dependency
.alias
- the alias to use for the subchart identified by this Requirements.Dependency
; may be null
getAlias()
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.