Package org.apache.maven.model
Class Build
- All Implemented Interfaces:
Serializable,Cloneable,InputLocationTracker
- 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 TypeMethodDescriptionvoidaddExtension(Extension extension) buildToApiV3(List<Build> list) buildToApiV4(List<Build> list) clone()booleangetLocation(Object key) Gets the location of the specified field in the input source.inthashCode()voidremoveExtension(Extension extension) protected booleanvoidsetExtensions(List<Extension> extensions) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetOutputDirectory(String outputDirectory) voidsetScriptSourceDirectory(String scriptSourceDirectory) voidsetSourceDirectory(String sourceDirectory) voidsetTestOutputDirectory(String testOutputDirectory) voidsetTestSourceDirectory(String testSourceDirectory) toString()Methods inherited from class org.apache.maven.model.BuildBase
addFilter, addResource, addTestResource, buildBaseToApiV3, buildBaseToApiV4, getDefaultGoal, getDirectory, getFilters, getFinalName, getResources, getTestResources, removeFilter, removeResource, removeTestResource, setDefaultGoal, setDirectory, setFilters, setFinalName, setResources, setTestResourcesMethods 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
-
Build
public Build() -
Build
-
Build
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegatein classBuildBase
-
equals
-
hashCode
public int hashCode() -
getSourceDirectory
-
setSourceDirectory
-
getScriptSourceDirectory
-
setScriptSourceDirectory
-
getTestSourceDirectory
-
setTestSourceDirectory
-
getOutputDirectory
-
setOutputDirectory
-
getTestOutputDirectory
-
setTestOutputDirectory
-
getExtensions
-
setExtensions
-
addExtension
-
removeExtension
-
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
getLocationin interfaceInputLocationTracker- Overrides:
getLocationin classBuildBase- 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 classBuildBase- Parameters:
key- The key of the field, must not benull.location- The location of the field, may benull.
-
replace
-
buildToApiV4
-
buildToApiV3
-
toString
-