public interface RunConfig
Modifier and Type | Interface and Description |
---|---|
static class |
RunConfig.ReactorStyle |
Modifier and Type | Method and Description |
---|---|
void |
addProperties(Map<String,String> properties) |
default Lookup |
getActionContext()
Provides access to possible additional parameters from the action invoker.
|
String |
getActionName() |
List<String> |
getActivatedProfiles() |
File |
getExecutionDirectory()
directory where the maven build execution happens.
|
String |
getExecutionName() |
List<String> |
getGoals()
goals to be executed.
|
Map<? extends String,? extends Object> |
getInternalProperties() |
org.apache.maven.project.MavenProject |
getMavenProject()
the maven project instance loaded with the context of execution,
with execution's profiles enabled and execution properties injected.
|
RunConfig |
getPreExecution() |
Project |
getProject()
project that is being used for execution, can be null.
|
Map<? extends String,? extends String> |
getProperties()
Properties to be used in execution.
|
RunConfig.ReactorStyle |
getReactorStyle() |
FileObject |
getSelectedFileObject() |
String |
getTaskDisplayName() |
boolean |
isInteractive() |
Boolean |
isOffline() |
boolean |
isRecursive() |
boolean |
isShowDebug() |
boolean |
isShowError() |
boolean |
isUpdateSnapshots() |
void |
setActivatedProfiles(List<String> profiles) |
void |
setExecutionDirectory(File directory) |
void |
setInternalProperty(String key,
Object value) |
void |
setOffline(Boolean bool) |
void |
setPreExecution(RunConfig config) |
void |
setProperty(String key,
String value) |
File getExecutionDirectory()
void setExecutionDirectory(File directory)
RunConfig getPreExecution()
void setPreExecution(RunConfig config)
RunConfig.ReactorStyle getReactorStyle()
Project getProject()
org.apache.maven.project.MavenProject getMavenProject()
String getExecutionName()
String getTaskDisplayName()
String getActionName()
@NonNull Map<? extends String,? extends String> getProperties()
void setProperty(@NonNull String key, @NullAllowed String value)
void setInternalProperty(@NonNull String key, @NullAllowed Object value)
boolean isShowDebug()
boolean isShowError()
Boolean isOffline()
void setOffline(Boolean bool)
boolean isRecursive()
boolean isUpdateSnapshots()
boolean isInteractive()
FileObject getSelectedFileObject()
default Lookup getActionContext()
null
, use Lookup.EMPTY
for empty instance.