org.apache.maven.lifecycle.plan
Class BuildPlanUtils

java.lang.Object
  extended by org.apache.maven.lifecycle.plan.BuildPlanUtils

public final class BuildPlanUtils
extends java.lang.Object

Collection of static utility methods used to work with LifecycleBindings and other collections of MojoBinding instances that make up a build plan.


Method Summary
static java.lang.String formatMojoListing(MojoBinding binding, int indentLevel, boolean extendedInfo)
          Format a single MojoBinding for inclusion in a build plan listing.
static java.lang.String listBuildPlan(BuildPlan plan, boolean extendedInfo)
          Render an entire build plan to a String.
static java.lang.String listBuildPlan(java.util.List mojoBindings, boolean extendedInfo)
          Render a list containing the MojoBinding instances for an entire build plan to a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

listBuildPlan

public static java.lang.String listBuildPlan(BuildPlan plan,
                                             boolean extendedInfo)
                                      throws LifecycleSpecificationException,
                                             LifecyclePlannerException
Render an entire build plan to a String. If extendedInfo == true, include each MojoBinding's configuration in the output.

Throws:
LifecycleSpecificationException
LifecyclePlannerException

listBuildPlan

public static java.lang.String listBuildPlan(java.util.List mojoBindings,
                                             boolean extendedInfo)
                                      throws LifecycleSpecificationException,
                                             LifecyclePlannerException
Render a list containing the MojoBinding instances for an entire build plan to a String. If extendedInfo == true, include each MojoBinding's configuration in the output.

Throws:
LifecycleSpecificationException
LifecyclePlannerException

formatMojoListing

public static java.lang.String formatMojoListing(MojoBinding binding,
                                                 int indentLevel,
                                                 boolean extendedInfo)
Format a single MojoBinding for inclusion in a build plan listing. If extendedInfo == true, include the MojoBinding's configuration in the output.



Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.