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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtension
(Extension extension) buildToApiV3
(List<Build> list) buildToApiV4
(List<Build> list) clone()
boolean
getLocation
(Object key) Gets the location of the specified field in the input source.int
hashCode()
void
removeExtension
(Extension extension) protected boolean
void
setExtensions
(List<Extension> extensions) void
setLocation
(Object key, InputLocation location) Sets the location of the specified field.void
setOutputDirectory
(String outputDirectory) void
setScriptSourceDirectory
(String scriptSourceDirectory) void
setSourceDirectory
(String sourceDirectory) void
setTestOutputDirectory
(String testOutputDirectory) void
setTestSourceDirectory
(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, setTestResources
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
-
Build
public Build() -
Build
-
Build
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegate
in 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:InputLocationTracker
Gets the location of the specified field in the input source.- Specified by:
getLocation
in interfaceInputLocationTracker
- Overrides:
getLocation
in classBuildBase
- 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 classBuildBase
- Parameters:
key
- The key of the field, must not benull
.location
- The location of the field, may benull
.
-
replace
-
buildToApiV4
-
buildToApiV3
-
toString
-