Class MavenExecutionInfo

java.lang.Object
it.serendigity.maven.plugin.lifecycle.helper.vo.MavenExecutionInfo

public final class MavenExecutionInfo extends Object
  • Constructor Details

    • MavenExecutionInfo

      public MavenExecutionInfo()
  • Method Details

    • getExecutionOrder

      public int getExecutionOrder()
    • getLifecycle

      public String getLifecycle()
    • getPhase

      public String getPhase()
    • getPluginArtifactId

      public String getPluginArtifactId()
    • getPluginVersion

      public String getPluginVersion()
    • getPluginExecutionId

      public String getPluginExecutionId()
    • getPluginGoal

      public String getPluginGoal()
    • from

      public static MavenExecutionInfo from(int order, org.apache.maven.plugin.MojoExecution mojoExecution, org.apache.maven.lifecycle.DefaultLifecycles defaultLifecycles)
    • builder

      @Generated("SparkTools") public static MavenExecutionInfo.Builder builder()
      Creates builder to build MavenExecutionInfo.
      Returns:
      created builder
    • getValueOrEmpty

      public Object getValueOrEmpty(MavenExecutionAttribute mavenExecutionAttribute)
      Retrieve value of the attribute mavenExecutionAttribute. The null value are converted in empty value
      Parameters:
      mavenExecutionAttribute - the attribute
      Returns:
      the value of the attribute or empty string otherwise
    • getValue

      public Object getValue(MavenExecutionAttribute mavenExecutionAttribute)
      Retrieve value of the attribute mavenExecutionAttribute
      Parameters:
      mavenExecutionAttribute - the attribute
      Returns:
      the value of the attribute or empty string otherwise
    • getStringLength

      public int getStringLength(MavenExecutionAttribute mavenExecutionAttribute)
    • setValue

      public void setValue(MavenExecutionAttribute mavenExecutionAttribute, Object value)
    • setExecutionOrder

      public void setExecutionOrder(int executionOrder)
    • setLifecycle

      public void setLifecycle(String lifecycle)
    • setPhase

      public void setPhase(String phase)
    • setPluginArtifactId

      public void setPluginArtifactId(String pluginArtifactId)
    • setPluginVersion

      public void setPluginVersion(String pluginVersion)
    • setPluginExecutionId

      public void setPluginExecutionId(String pluginExecutionId)
    • setPluginGoal

      public void setPluginGoal(String pluginGoal)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object