org.jboss.forge.maven.plugins
Class ExecutionBuilder
java.lang.Object
org.jboss.forge.maven.plugins.ExecutionBuilder
- All Implemented Interfaces:
- Execution
public class ExecutionBuilder
- extends Object
- implements Execution
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)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.