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.Builderbuilder()Creates builder to buildMavenExecutionInfo.booleanstatic MavenExecutionInfofrom(int order, org.apache.maven.plugin.MojoExecution mojoExecution, org.apache.maven.lifecycle.DefaultLifecycles defaultLifecycles) intgetPhase()intgetStringLength(MavenExecutionAttribute mavenExecutionAttribute) getValue(MavenExecutionAttribute mavenExecutionAttribute) Retrieve value of the attributemavenExecutionAttributegetValueOrEmpty(MavenExecutionAttribute mavenExecutionAttribute) Retrieve value of the attributemavenExecutionAttribute.inthashCode()voidsetExecutionOrder(int executionOrder) voidsetLifecycle(String lifecycle) voidvoidsetPluginArtifactId(String pluginArtifactId) voidsetPluginExecutionId(String pluginExecutionId) voidsetPluginGoal(String pluginGoal) voidsetPluginVersion(String pluginVersion) voidsetValue(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()
-