public abstract class AbstractFabric8Mojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected ClusterConfiguration |
access |
protected io.fabric8.maven.docker.util.Logger |
log |
protected org.apache.maven.project.MavenProject |
project |
protected org.apache.maven.execution.MavenSession |
session |
protected org.apache.maven.settings.Settings |
settings |
protected boolean |
skip |
protected boolean |
useColor |
protected String |
verbose |
Constructor and Description |
---|
AbstractFabric8Mojo() |
Modifier and Type | Method and Description |
---|---|
protected io.fabric8.maven.docker.util.Logger |
createExternalProcessLogger(String prefix) |
protected io.fabric8.maven.docker.util.Logger |
createLogger(String prefix) |
void |
execute() |
abstract void |
executeInternal() |
protected ClusterConfiguration |
getClusterConfiguration() |
protected String |
getProperty(String key) |
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${session}", readonly=true) protected org.apache.maven.execution.MavenSession session
@Parameter(property="fabric8.useColor", defaultValue="true") protected boolean useColor
@Parameter(property="fabric8.skip", defaultValue="false") protected boolean skip
@Parameter(property="fabric8.verbose", defaultValue="false") protected String verbose
@Parameter(defaultValue="${settings}", readonly=true) protected org.apache.maven.settings.Settings settings
@Parameter protected ClusterConfiguration access
protected io.fabric8.maven.docker.util.Logger log
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public abstract void executeInternal() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected io.fabric8.maven.docker.util.Logger createExternalProcessLogger(String prefix)
protected io.fabric8.maven.docker.util.Logger createLogger(String prefix)
protected ClusterConfiguration getClusterConfiguration()
Copyright © 2020. All rights reserved.