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
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getId()
getLocation
(Object key) Gets the location of the specified field in the input source.getName()
getUrl()
int
hashCode()
boolean
protected boolean
void
setChildSiteUrlInheritAppendPath
(String childSiteUrlInheritAppendPath) void
void
setImportedFrom
(InputLocation location) void
setLocation
(Object key, InputLocation location) Sets the location of the specified field.void
void
siteToApiV3
(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:
getDelegate
in classBaseObject
-
equals
-
hashCode
public int hashCode() -
getId
-
setId
-
getName
-
setName
-
getUrl
-
setUrl
-
getChildSiteUrlInheritAppendPath
-
setChildSiteUrlInheritAppendPath
-
getLocation
Description copied from interface:InputLocationTracker
Gets 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
null
if unknown.
-
setLocation
Description copied from interface:InputLocationTracker
Sets the location of the specified field.- Parameters:
key
- The key of the field, must not benull
.location
- The location of the field, may benull
.
-
getImportedFrom
-
setImportedFrom
-
getLocationKeys
-
replace
- Overrides:
replace
in classBaseObject
-
siteToApiV4
-
siteToApiV3
-
isChildSiteUrlInheritAppendPath
public boolean isChildSiteUrlInheritAppendPath()
-