Class MavenExecutionInfo
java.lang.Object
it.serendigity.maven.plugin.lifecycle.helper.vo.MavenExecutionInfo
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MavenExecutionInfo.Builder
builder()
Creates builder to buildMavenExecutionInfo
.boolean
static MavenExecutionInfo
from
(int order, org.apache.maven.plugin.MojoExecution mojoExecution, org.apache.maven.lifecycle.DefaultLifecycles defaultLifecycles) int
getPhase()
int
getStringLength
(MavenExecutionAttribute mavenExecutionAttribute) getValue
(MavenExecutionAttribute mavenExecutionAttribute) Retrieve value of the attributemavenExecutionAttribute
getValueOrEmpty
(MavenExecutionAttribute mavenExecutionAttribute) Retrieve value of the attributemavenExecutionAttribute
.int
hashCode()
void
setExecutionOrder
(int executionOrder) void
setLifecycle
(String lifecycle) void
void
setPluginArtifactId
(String pluginArtifactId) void
setPluginExecutionId
(String pluginExecutionId) void
setPluginGoal
(String pluginGoal) void
setPluginVersion
(String pluginVersion) void
setValue
(MavenExecutionAttribute mavenExecutionAttribute, Object value) toString()
-
Constructor Details
-
MavenExecutionInfo
public MavenExecutionInfo()
-
-
Method Details
-
getExecutionOrder
public int getExecutionOrder() -
getLifecycle
-
getPhase
-
getPluginArtifactId
-
getPluginVersion
-
getPluginExecutionId
-
getPluginGoal
-
from
public static MavenExecutionInfo from(int order, org.apache.maven.plugin.MojoExecution mojoExecution, org.apache.maven.lifecycle.DefaultLifecycles defaultLifecycles) -
builder
Creates builder to buildMavenExecutionInfo
.- Returns:
- created builder
-
getValueOrEmpty
Retrieve value of the attributemavenExecutionAttribute
. The null value are converted in empty value- Parameters:
mavenExecutionAttribute
- the attribute- Returns:
- the value of the attribute or empty string otherwise
-
getValue
Retrieve value of the attributemavenExecutionAttribute
- Parameters:
mavenExecutionAttribute
- the attribute- Returns:
- the value of the attribute or empty string otherwise
-
getStringLength
-
setValue
-
setExecutionOrder
public void setExecutionOrder(int executionOrder) -
setLifecycle
-
setPhase
-
setPluginArtifactId
-
setPluginVersion
-
setPluginExecutionId
-
setPluginGoal
-
toString
-
equals
-
hashCode
public int hashCode()
-