Execution (Maven Plugin API 3.9.16 API) JavaScript is disabled on your browser.     Skip navigation links Overview Class Use Tree Deprecated Index Search Help org.apache.maven.plugin.lifecycle Execution Contents  Description Constructor Summary Method Summary Constructor Details Execution() Method Details addGoal(String) getConfiguration() getGoals() removeGoal(String) setConfiguration(Object) setGoals(List) Hide sidebar  Show sidebar Class Execution java.lang.Object org.apache.maven.plugin.lifecycle.Execution All Implemented Interfaces: Serializable public class Execution extends Object implements Serializable A set of goals to execute. Version: $Revision$ $Date$ See Also: Serialized Form Constructor Summary Constructors Constructor Description Execution()   Method Summary All MethodsInstance MethodsConcrete Methods Modifier and Type Method Description void addGoal(String string) Method addGoal. Object getConfiguration() Get configuration to pass to the goals. List<String> getGoals() Method getGoals. void removeGoal(String string) Method removeGoal. void setConfiguration(Object configuration) Set configuration to pass to the goals. void setGoals(List<String> goals) Set the goals to execute. Methods inherited from class Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructor Details Execution public Execution() Method Details addGoal public void addGoal(String string) Method addGoal. Parameters: string - a string object. getConfiguration public Object getConfiguration() Get configuration to pass to the goals. Returns: Object getGoals public List<String> getGoals() Method getGoals. Returns: List removeGoal public void removeGoal(String string) Method removeGoal. Parameters: string - a string object. setConfiguration public void setConfiguration(Object configuration) Set configuration to pass to the goals. Parameters: configuration - a configuration object. setGoals public void setGoals(List<String> goals) Set the goals to execute. Parameters: goals - a goals object. Copyright © 2001–2026 The Apache Software Foundation. All rights reserved.