Package org.apache.maven.model
Class BuildBase
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.PluginContainer
org.apache.maven.model.PluginConfiguration
org.apache.maven.model.BuildBase
- All Implemented Interfaces:
Serializable
,Cloneable
,InputLocationTracker
- Direct Known Subclasses:
Build
- 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addResource
(Resource resource) void
addTestResource
(Resource testResource) buildBaseToApiV3
(List<BuildBase> list) buildBaseToApiV4
(List<BuildBase> list) clone()
getLocation
(Object key) Gets the location of the specified field in the input source.void
removeFilter
(String filter) void
removeResource
(Resource resource) void
removeTestResource
(Resource testResource) protected boolean
void
setDefaultGoal
(String defaultGoal) void
setDirectory
(String directory) void
setFilters
(List<String> filters) void
setFinalName
(String finalName) void
setLocation
(Object key, InputLocation location) Sets the location of the specified field.void
setResources
(List<Resource> resources) void
setTestResources
(List<Resource> testResources) Methods inherited from class org.apache.maven.model.PluginConfiguration
getPluginManagement, pluginConfigurationToApiV3, pluginConfigurationToApiV4, setPluginManagement
Methods inherited from class org.apache.maven.model.PluginContainer
addPlugin, flushPluginMap, getPlugins, getPluginsAsMap, pluginContainerToApiV3, pluginContainerToApiV4, removePlugin, setPlugins
Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
BuildBase
public BuildBase() -
BuildBase
-
BuildBase
-
-
Method Details
-
clone
- Overrides:
clone
in classPluginConfiguration
-
getDelegate
- Overrides:
getDelegate
in classPluginConfiguration
-
getDefaultGoal
-
setDefaultGoal
-
getResources
-
setResources
-
addResource
-
removeResource
-
getTestResources
-
setTestResources
-
addTestResource
-
removeTestResource
-
getDirectory
-
setDirectory
-
getFinalName
-
setFinalName
-
getFilters
-
setFilters
-
addFilter
-
removeFilter
-
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 classPluginConfiguration
- 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 classPluginConfiguration
- Parameters:
key
- The key of the field, must not benull
.location
- The location of the field, may benull
.
-
replace
- Overrides:
replace
in classPluginConfiguration
-
buildBaseToApiV4
-
buildBaseToApiV3
-