public class GeneratorContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GeneratorContext.Builder |
| Modifier and Type | Method and Description |
|---|---|
ProcessorConfig |
getConfig() |
GoalFinder |
getGoalFinder() |
String |
getGoalName() |
io.fabric8.maven.docker.util.Logger |
getLogger() |
PlatformMode |
getMode() |
org.apache.maven.project.MavenProject |
getProject() |
org.apache.maven.execution.MavenSession |
getSession() |
OpenShiftBuildStrategy |
getStrategy() |
boolean |
isPrePackagePhase() |
boolean |
isUseProjectClasspath() |
boolean |
isWatchMode()
Returns true if we are in watch mode
|
boolean |
runningWithGoal(String... goals)
Returns true if maven is running with any of the given goals
|
public org.apache.maven.project.MavenProject getProject()
public org.apache.maven.execution.MavenSession getSession()
public GoalFinder getGoalFinder()
public ProcessorConfig getConfig()
public String getGoalName()
public io.fabric8.maven.docker.util.Logger getLogger()
public PlatformMode getMode()
public OpenShiftBuildStrategy getStrategy()
public boolean isWatchMode()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic boolean runningWithGoal(String... goals) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic boolean isUseProjectClasspath()
public boolean isPrePackagePhase()
Copyright © 2017. All rights reserved.