Class Build
- All Implemented Interfaces:
Serializable, Cloneable, InputLocationTracker
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class BaseObject
BaseObject.ChildrenTracking -
Field Summary
Fields inherited from class BaseObject
childrenTracking, delegate -
Constructor Summary
ConstructorsConstructorDescriptionBuild()Build(org.apache.maven.api.model.Build delegate) Build(org.apache.maven.api.model.Build delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtension(Extension extension) buildToApiV3(List<org.apache.maven.api.model.Build> list) static List<org.apache.maven.api.model.Build> buildToApiV4(List<Build> list) clone()booleanorg.apache.maven.api.model.BuildgetLocation(Object key) Gets the location of the specified field in the input source.inthashCode()voidremoveExtension(Extension extension) protected booleanvoidsetExtensions(List<Extension> extensions) voidsetImportedFrom(InputLocation location) 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 BuildBase
addFilter, addResource, addTestResource, buildBaseToApiV3, buildBaseToApiV4, getDefaultGoal, getDirectory, getFilters, getFinalName, getResources, getTestResources, removeFilter, removeResource, removeTestResource, setDefaultGoal, setDirectory, setFilters, setFinalName, setResources, setTestResourcesMethods inherited from class PluginConfiguration
getPluginManagement, pluginConfigurationToApiV3, pluginConfigurationToApiV4, setPluginManagementMethods inherited from class PluginContainer
addPlugin, flushPluginMap, getPlugins, getPluginsAsMap, pluginContainerToApiV3, pluginContainerToApiV4, removePlugin, setPluginsMethods inherited from class BaseObject
update
-
Constructor Details
-
Build
public Build() -
Build
public Build(org.apache.maven.api.model.Build delegate) -
Build
-
-
Method Details
-
clone
-
getDelegate
public org.apache.maven.api.model.Build getDelegate()- Overrides:
getDelegatein classBuildBase
-
equals
-
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.
-
getImportedFrom
- Overrides:
getImportedFromin classBuildBase
-
setImportedFrom
- Overrides:
setImportedFromin classBuildBase
-
getLocationKeys
- Overrides:
getLocationKeysin classBuildBase
-
replace
-
buildToApiV4
-
buildToApiV3
-
toString
-