@Mojo(name="package") public class PackageMojo extends AbstractHelmMojo implements Disposable
execute()
Constructor and Description |
---|
PackageMojo(MavenProject project) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Implements the
Disposable interface by closing the AbstractChartLoader returned by the getChartLoader()
method and closing the
AbstractChartWriter returned by the getChartWriter() method. |
void |
execute() |
URI |
getChartContentsUri() |
AbstractChartLoader<URL> |
getChartLoader() |
URI |
getChartTargetUri() |
AbstractChartWriter |
getChartWriter() |
boolean |
getSkip()
Returns
true if this PackageMojo should not
execute. |
void |
setChartContentsUri(URI chartContentsUri) |
void |
setChartLoader(AbstractChartLoader<URL> chartLoader) |
void |
setChartTargetUri(URI chartTargetUri) |
void |
setChartWriter(AbstractChartWriter chartWriter) |
void |
setSkip(boolean skip)
Controls whether this
PackageMojo should execute. |
getLog, getPluginContext, setLog, setPluginContext
@Inject public PackageMojo(MavenProject project)
public void execute() throws MojoExecutionException, MojoFailureException
execute
in interface Mojo
MojoExecutionException
MojoFailureException
public void dispose()
Disposable
interface by closing the AbstractChartLoader
returned by the getChartLoader()
method and closing the
AbstractChartWriter
returned by the getChartWriter()
method.
Any IOException
s encountered are logged.
dispose
in interface Disposable
public boolean getSkip()
true
if this PackageMojo
should not
execute.true
if this PackageMojo
should not
execute; false
otherwisesetSkip(boolean)
public void setSkip(boolean skip)
PackageMojo
should execute.skip
- if true
, this PackageMojo
will not
executegetSkip()
public AbstractChartLoader<URL> getChartLoader()
public void setChartLoader(AbstractChartLoader<URL> chartLoader)
public AbstractChartWriter getChartWriter()
public void setChartWriter(AbstractChartWriter chartWriter)
public URI getChartContentsUri()
public void setChartContentsUri(URI chartContentsUri)
public URI getChartTargetUri()
public void setChartTargetUri(URI chartTargetUri)
Copyright © 2017–2018, microBean. All rights reserved.