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
Fields inherited from class org.apache.maven.model.BaseObject
childrenTracking, delegate
-
Constructor Summary
ConstructorDescriptionPluginExecution
(PluginExecution delegate) PluginExecution
(PluginExecution delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clone()
boolean
getGoals()
getId()
getLocation
(Object key) Gets the location of the specified field in the input source.getPhase()
int
int
hashCode()
static List<PluginExecution>
static List<PluginExecution>
void
removeGoal
(String goal) protected boolean
void
void
void
setImportedFrom
(InputLocation location) void
setLocation
(Object key, InputLocation location) Sets the location of the specified field.void
void
setPriority
(int priority) toString()
Methods inherited from class org.apache.maven.model.ConfigurationContainer
configurationContainerToApiV3, configurationContainerToApiV4, getConfiguration, getInherited, isInherited, setConfiguration, setInherited, unsetInheritanceApplied
Methods 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:
clone
in classConfigurationContainer
-
getDelegate
- Overrides:
getDelegate
in classConfigurationContainer
-
equals
- Overrides:
equals
in classConfigurationContainer
-
hashCode
public int hashCode()- Overrides:
hashCode
in classConfigurationContainer
-
getId
-
setId
-
getPhase
-
setPhase
-
getPriority
public int getPriority() -
setPriority
public void setPriority(int priority) -
getGoals
-
setGoals
-
addGoal
-
removeGoal
-
getLocation
Description copied from interface:InputLocationTracker
Gets the location of the specified field in the input source.- Specified by:
getLocation
in interfaceInputLocationTracker
- Overrides:
getLocation
in classConfigurationContainer
- Parameters:
key
- The key of the field, must not benull
.- Returns:
- The location of the field in the input source or
null
if unknown.
-
setLocation
Description copied from interface:InputLocationTracker
Sets the location of the specified field.- Specified by:
setLocation
in interfaceInputLocationTracker
- Overrides:
setLocation
in classConfigurationContainer
- Parameters:
key
- The key of the field, must not benull
.location
- The location of the field, may benull
.
-
getImportedFrom
- Overrides:
getImportedFrom
in classConfigurationContainer
-
setImportedFrom
- Overrides:
setImportedFrom
in classConfigurationContainer
-
getLocationKeys
- Overrides:
getLocationKeys
in classConfigurationContainer
-
replace
- Overrides:
replace
in classConfigurationContainer
-
pluginExecutionToApiV4
-
pluginExecutionToApiV3
-
toString
-