Package org.apache.maven.model
Class Site
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.Site
- 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 TypeMethodDescriptionclone()booleangetId()getLocation(Object key) Gets the location of the specified field in the input source.getName()getUrl()inthashCode()booleanprotected booleanvoidsetChildSiteUrlInheritAppendPath(String childSiteUrlInheritAppendPath) voidvoidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidvoidsiteToApiV3(List<Site> list) siteToApiV4(List<Site> list) Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
Site
public Site() -
Site
-
Site
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegatein classBaseObject
-
equals
-
hashCode
public int hashCode() -
getId
-
setId
-
getName
-
setName
-
getUrl
-
setUrl
-
getChildSiteUrlInheritAppendPath
-
setChildSiteUrlInheritAppendPath
-
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- 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.- Parameters:
key- The key of the field, must not benull.location- The location of the field, may benull.
-
replace
- Overrides:
replacein classBaseObject
-
siteToApiV4
-
siteToApiV3
-
isChildSiteUrlInheritAppendPath
public boolean isChildSiteUrlInheritAppendPath()
-