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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddResource(Resource resource) voidaddTestResource(Resource testResource) buildBaseToApiV3(List<BuildBase> list) buildBaseToApiV4(List<BuildBase> list) clone()booleangetLocation(Object key) Gets the location of the specified field in the input source.inthashCode()voidremoveFilter(String filter) voidremoveResource(Resource resource) voidremoveTestResource(Resource testResource) protected booleanvoidsetDefaultGoal(String defaultGoal) voidsetDirectory(String directory) voidsetFilters(List<String> filters) voidsetFinalName(String finalName) voidsetImportedFrom(InputLocation location) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetResources(List<Resource> resources) voidsetTestResources(List<Resource> testResources) toString()Methods inherited from class org.apache.maven.model.PluginConfiguration
getPluginManagement, pluginConfigurationToApiV3, pluginConfigurationToApiV4, setPluginManagementMethods inherited from class org.apache.maven.model.PluginContainer
addPlugin, flushPluginMap, getPlugins, getPluginsAsMap, pluginContainerToApiV3, pluginContainerToApiV4, removePlugin, setPluginsMethods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
BuildBase
public BuildBase() -
BuildBase
-
BuildBase
-
-
Method Details
-
clone
- Overrides:
clonein classPluginConfiguration
-
getDelegate
- Overrides:
getDelegatein classPluginConfiguration
-
equals
- Overrides:
equalsin classPluginConfiguration
-
hashCode
public int hashCode()- Overrides:
hashCodein classPluginConfiguration
-
getDefaultGoal
-
setDefaultGoal
-
getResources
-
setResources
-
addResource
-
removeResource
-
getTestResources
-
setTestResources
-
addTestResource
-
removeTestResource
-
getDirectory
-
setDirectory
-
getFinalName
-
setFinalName
-
getFilters
-
setFilters
-
addFilter
-
removeFilter
-
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
getLocationin interfaceInputLocationTracker- Overrides:
getLocationin classPluginConfiguration- 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 classPluginConfiguration- Parameters:
key- The key of the field, must not benull.location- The location of the field, may benull.
-
getImportedFrom
- Overrides:
getImportedFromin classPluginConfiguration
-
setImportedFrom
- Overrides:
setImportedFromin classPluginConfiguration
-
getLocationKeys
- Overrides:
getLocationKeysin classPluginConfiguration
-
replace
- Overrides:
replacein classPluginConfiguration
-
buildBaseToApiV4
-
buildBaseToApiV3
-
toString
- Overrides:
toStringin classPluginConfiguration- See Also:
-