Forge - Maven API 2.0.0.Alpha3

org.jboss.forge.maven.plugins
Class ExecutionBuilder

java.lang.Object
  extended by org.jboss.forge.maven.plugins.ExecutionBuilder
All Implemented Interfaces:
Execution

public class ExecutionBuilder
extends Object
implements Execution


Method Summary
 ExecutionBuilder addGoal(String goal)
           
static ExecutionBuilder create()
           
static ExecutionBuilder create(ExecutionImpl execution)
           
 Configuration getConfig()
           
 List<String> getGoals()
           
 String getId()
           
 String getPhase()
           
 ExecutionBuilder setConfig(Configuration configuration)
           
 ExecutionBuilder setId(String id)
           
 ExecutionBuilder setPhase(String phase)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static ExecutionBuilder create()

create

public static ExecutionBuilder create(ExecutionImpl execution)

setId

public ExecutionBuilder setId(String id)

setPhase

public ExecutionBuilder setPhase(String phase)

addGoal

public ExecutionBuilder addGoal(String goal)

getId

public String getId()
Specified by:
getId in interface Execution
Returns:
the ID of this execution

getPhase

public String getPhase()
Specified by:
getPhase in interface Execution
Returns:
the phase where this execution belongs

getGoals

public List<String> getGoals()
Specified by:
getGoals in interface Execution
Returns:
the goals configured for this execution

toString

public String toString()
Overrides:
toString in class Object

getConfig

public Configuration getConfig()
Specified by:
getConfig in interface Execution
Returns:
the Configuration object associated with this execution

setConfig

public ExecutionBuilder setConfig(Configuration configuration)

Forge - Maven API 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.