Package org.apache.maven.model
Class PluginExecution
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.ConfigurationContainer
org.apache.maven.model.PluginExecution
- All Implemented Interfaces:
Serializable,Cloneable,InputLocationTracker
@Generated
public class PluginExecution
extends ConfigurationContainer
implements Serializable, Cloneable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.model.BaseObject
BaseObject.ChildrenTracking -
Field Summary
FieldsFields inherited from class org.apache.maven.model.BaseObject
childrenTracking, delegate -
Constructor Summary
ConstructorsConstructorDescriptionPluginExecution(PluginExecution delegate) PluginExecution(PluginExecution delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionvoidclone()booleangetGoals()getId()getLocation(Object key) Gets the location of the specified field in the input source.getPhase()intinthashCode()static List<PluginExecution>static List<PluginExecution>voidremoveGoal(String goal) protected booleanvoidvoidvoidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidvoidsetPriority(int priority) toString()Methods inherited from class org.apache.maven.model.ConfigurationContainer
configurationContainerToApiV3, configurationContainerToApiV4, getConfiguration, getInherited, isInherited, setConfiguration, setInheritedMethods inherited from class org.apache.maven.model.BaseObject
update
-
Field Details
-
DEFAULT_EXECUTION_ID
- See Also:
-
-
Constructor Details
-
PluginExecution
public PluginExecution() -
PluginExecution
-
PluginExecution
-
-
Method Details
-
clone
- Overrides:
clonein classConfigurationContainer
-
getDelegate
- Overrides:
getDelegatein classConfigurationContainer
-
equals
- Overrides:
equalsin classConfigurationContainer
-
hashCode
public int hashCode()- Overrides:
hashCodein classConfigurationContainer
-
getId
-
setId
-
getPhase
-
setPhase
-
getPriority
public int getPriority() -
setPriority
public void setPriority(int priority) -
getGoals
-
setGoals
-
addGoal
-
removeGoal
-
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
getLocationin interfaceInputLocationTracker- Overrides:
getLocationin classConfigurationContainer- Parameters:
key- The key of the field, must not benull.- Returns:
- The location of the field in the input source or
nullif unknown.
-
setLocation
Description copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
setLocationin interfaceInputLocationTracker- Overrides:
setLocationin classConfigurationContainer- Parameters:
key- The key of the field, must not benull.location- The location of the field, may benull.
-
replace
- Overrides:
replacein classConfigurationContainer
-
pluginExecutionToApiV4
-
pluginExecutionToApiV3
-
toString
-